Changeset d49254d for src/gui/conflictdialogcontainer.cpp
- Timestamp:
- 01/27/10 22:08:37 (13 years ago)
- Branches:
- master, qt5
- Children:
- 0401cc2
- Parents:
- 21d7cc0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/conflictdialogcontainer.cpp
r21d7cc0 rd49254d 9 9 void ConflictDialogContainer::loadEvents( const QDate &aDate, const int aConferenceId ) 10 10 { 11 static_cast<EventModel*>(treeView->model())->load EventsByRoom( aDate, aConferenceId );12 //treeView->setAllExpanded(true);11 static_cast<EventModel*>(treeView->model())->loadConflictEvents( mEventId, aConferenceId ); 12 dayNavigator->hide(); 13 13 } 14 14 15 void ConflictDialogContainer::updateTreeViewModel(int aEventId)16 {17 // requires special handling18 // we need to reload favourites, because some favourite could be deleted19 //static_cast<EventModel*>(favTreeView->model())->updateModel(aEventId);20 int confId = Conference::activeConference();21 QDate startDate = Conference::getById(confId).start();22 QDate endDate = Conference::getById(confId).end();23 dayNavigator->setDates(startDate, endDate);24 updateTreeView( Conference::getById(confId).start() );25 }26
Note: See TracChangeset
for help on using the changeset viewer.