- Timestamp:
- 01/18/10 15:00:32 (13 years ago)
- Branches:
- master, qt5
- Children:
- 5ff01fe
- Parents:
- ffd878f
- Location:
- src/mvc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/event.h
rffd878f r5842349 27 27 public: 28 28 static Event getById(int id, int conferenceId); 29 static Event getVirtualById(int id, int conferenceId);30 29 static QList<Event> getByDate(const QDate& date, int conferenceId); 31 30 static QList<Event> getFavByDate(const QDate& date, int conferenceId); // get Favourities by Date -
src/mvc/eventmodel.cpp
rffd878f r5842349 48 48 { 49 49 if (index.internalId() == 0) 50 { //range of time data 51 //qDebug() << qVariantValue<QString>(mGroups.at(index.row()).mTitle); 50 { 52 51 return mGroups.at(index.row()).mTitle; 53 52 } 54 53 else //event data 55 54 { 56 //qDebug() << qVariantValue<QString>(static_cast<Event*>(index.internalPointer())->id());57 //return static_cast<Event*>(index.internalPointer())->id();58 //qDebug() << Event::getVirtualById(static_cast<Event*>(index.internalPointer())->id(), 1).title();// Id Conference is 1 by now59 //return 1;60 55 return static_cast<Event*>(index.internalPointer())->id(); 61 56 } -
src/mvc/treeview.h
rffd878f r5842349 3 3 4 4 #include <QTreeView> 5 5 6 6 7 class TreeView : public QTreeView
Note: See TracChangeset
for help on using the changeset viewer.