QModelIndex parent ( const QModelIndex & index ) const;
int columnCount ( const QModelIndex & parent = QModelIndex() ) const;
int rowCount ( const QModelIndex & parent = QModelIndex() ) const;
- void loadEvents(); // loads Events from the DB
+ void loadEvents(const QDate &aDate, int aConferenceId); // loads Events from the DB
private:
struct Group
QList<Event> mEvents;
QList<Group> mGroups;
QHash<int, int> mParents;
- QDate mCurrentDate;
- int mConfId;
};
#endif // EVENTMODEL_H