]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/model/eventmodel.h
implemented 'conference' record for accessing info about the conference
[toast/confclerk.git] / src / model / eventmodel.h
index 10b817a5a2c0c8581b8752efee6f3d91d1da5457..b4b4bcf5396d193b2f060528021f4016b0a18471 100644 (file)
@@ -14,7 +14,7 @@ public:
     QModelIndex parent ( const QModelIndex & index ) const;
     int columnCount ( const QModelIndex & parent = QModelIndex() ) const;
     int rowCount ( const QModelIndex & parent = QModelIndex() ) const;
-    void reload(); // reloads Events from the DB
+    void loadEvents(); // loads Events from the DB
 
 private:
     struct Group
@@ -39,6 +39,9 @@ private:
     QList<Event> mEvents;
     QList<Group> mGroups;
     QHash<int, int> mParents;
+    QDate mCurrentDate;
+    int mConfId;
 };
 
 #endif // EVENTMODEL_H
+