Changeset 27102d5 for src/mvc/eventmodel.cpp
- Timestamp:
- 01/18/10 10:22:57 (13 years ago)
- Branches:
- master, qt5
- Children:
- 8f25cb1
- Parents:
- 8035cef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/eventmodel.cpp
r8035cef r27102d5 48 48 { 49 49 if (index.internalId() == 0) 50 { 50 { //range of time data 51 //qDebug() << qVariantValue<QString>(mGroups.at(index.row()).mTitle); 51 52 return mGroups.at(index.row()).mTitle; 52 53 } 53 else 54 else //event data 54 55 { 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 now 59 //return 1; 55 60 return static_cast<Event*>(index.internalPointer())->id(); 56 61 }
Note: See TracChangeset
for help on using the changeset viewer.