Changeset 0401cc2 for src/gui


Ignore:
Timestamp:
01/27/10 22:33:36 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
c9fa699
Parents:
d49254d
Message:

'conflict' list is automatically expanded

Location:
src/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/gui/conflictdialogcontainer.cpp

    rd49254d r0401cc2  
    99void ConflictDialogContainer::loadEvents( const QDate &aDate, const int aConferenceId )
    1010{
     11    Q_UNUSED(aDate);
     12
    1113    static_cast<EventModel*>(treeView->model())->loadConflictEvents( mEventId, aConferenceId );
    1214    dayNavigator->hide();
    1315}
    1416
     17void ConflictDialogContainer::updateTreeView(const QDate &aDate)
     18{
     19    TabContainer::updateTreeView(aDate);
     20    treeView->setAllExpanded(true);
     21}
     22
  • src/gui/conflictdialogcontainer.h

    rd49254d r0401cc2  
    1717    virtual void loadEvents( const QDate &aDate, const int aConferenceId );
    1818
     19protected slots:
     20    virtual void updateTreeView(const QDate &aDate);
     21
    1922private:
    2023    int mEventId;
  • src/gui/tabcontainer.h

    rd49254d r0401cc2  
    3333
    3434protected slots:
    35     void updateTreeView(const QDate &aDate);
     35    virtual void updateTreeView(const QDate &aDate);
    3636    void itemClicked(const QModelIndex &aIndex);
    3737    void displayMap(const QModelIndex &aIndex);
Note: See TracChangeset for help on using the changeset viewer.