- Timestamp:
- 01/19/10 21:58:29 (13 years ago)
- Branches:
- master, qt5
- Children:
- 1fe2f21
- Parents:
- 395d6d3
- Location:
- src/mvc
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/eventmodel.cpp
r395d6d3 r9208bdb 1 1 #include "eventmodel.h" 2 2 #include <conference.h> 3 #include <activity.h> 3 4 4 5 EventModel::EventModel() … … 51 52 } 52 53 int activityId = mEvents.first().activityId(); 53 //TODO korinpa: get activity name 54 mGroups << EventModel::Group( QString("activity %1").arg(activityId), 0);54 55 mGroups << EventModel::Group(Activity::getActivityName(activityId), 0); 55 56 int nextActivityId = activityId; 56 57 … … 61 62 { 62 63 mGroups.last().mChildCount = i - mGroups.last().mFirstEventIndex; 63 mGroups << EventModel::Group( QString("activity %1").arg(activityId), 0);64 //intnextActivityId = activityId;64 mGroups << EventModel::Group(Activity::getActivityName(activityId), i); 65 nextActivityId = activityId; 65 66 } 66 67 // add parent-child relation -
src/mvc/mvc.pro
r395d6d3 r9208bdb 7 7 8 8 # module dependencies 9 LIBS += -L$$DESTDIR -lorm 9 LIBS += -L$$DESTDIR \ 10 -lorm 10 11 INCLUDEPATH += ../orm 11 DEPENDPATH += . ../orm 12 DEPENDPATH += . \ 13 ../orm 12 14 TARGETDEPS += $$DESTDIR/liborm.a 13 maemo { 14 LIBS += -L$$DESTDIR -lqalarm -lalarm 15 maemo { 16 LIBS += -L$$DESTDIR \ 17 -lqalarm \ 18 -lalarm 15 19 INCLUDEPATH += ../alarm 16 DEPENDPATH += 20 DEPENDPATH += ../alarm 17 21 TARGETDEPS += $$DESTDIR/libqalarm.a 18 22 } 19 20 HEADERS += \ 23 HEADERS += activity.h \ 21 24 event.h \ 22 25 conference.h \ … … 24 27 eventmodel.h \ 25 28 treeview.h 26 SOURCES += \29 SOURCES += activity.cpp \ 27 30 event.cpp \ 28 31 conference.cpp \ … … 30 33 eventmodel.cpp \ 31 34 treeview.cpp 32
Note: See TracChangeset
for help on using the changeset viewer.