course = 0;
}
Qt::ItemFlags flags ( const QModelIndex & index );
- void setScore(QList<Score *> &sList);
+ void setScore(QList<Score *> &sList, Score *score = 0);
void setClub(QList<Club *> &cList);
- Course *findCourse(QString &clubName, QString &courseName);
+ Course *findCourse(const QString &clubName, const QString &courseName);
int rowCount(const QModelIndex & parent) const;
int columnCount(const QModelIndex & parent) const;
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;