Changeset 9208bdb in confclerk_git for src/gui/mainwindow.cpp
- Timestamp:
- 01/19/10 21:58:29 (13 years ago)
- Branches:
- master, qt5
- Children:
- 1fe2f21
- Parents:
- 395d6d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
r395d6d3 r9208bdb 7 7 #include <schedulexmlparser.h> 8 8 9 #include <activity.h> 9 10 #include <eventmodel.h> 10 11 #include <delegate.h> … … 38 39 connect(mXmlParser, SIGNAL(progressStatus(int)), this, SLOT(showParsingProgress(int))); 39 40 statusBar()->showMessage(tr("Ready")); 41 42 //create activity map 43 Activity::updateActivityMap(); 40 44 41 45 connect(dayNavigator, SIGNAL(dateChanged(const QDate &)), SLOT(updateDayView(const QDate &))); … … 136 140 activityDayNavigator->setDates(aStartDate, aEndDate); 137 141 } 142 //update activity map 143 Activity::updateActivityMap(); 138 144 } 139 145 … … 179 185 case 2: //index 2 of tabWidget: activitiesTab 180 186 { 181 static_cast<EventModel*>(actTreeView->model())->loadEventsByActivities(Conference::getById(confId).start(), confId);187 static_cast<EventModel*>(actTreeView->model())->loadEventsByActivities(Conference::getById(confId).start(), confId); 182 188 actTreeView->reset(); 183 189 activityDayNavigator->show(); … … 193 199 void MainWindow::updateActivitiesDayView(const QDate &aDate) 194 200 { 195 static_cast<EventModel*>(actTreeView->model())->loadEventsByActivities(aDate, confId);201 static_cast<EventModel*>(actTreeView->model())->loadEventsByActivities(aDate, confId); 196 202 actTreeView->reset(); 197 203 activityDayNavigator->show(); … … 235 241 window.exec(); 236 242 } 237
Note: See TracChangeset
for help on using the changeset viewer.