Changeset 07ae23a in confclerk_git for src/gui/tabcontainer.h
- Timestamp:
- 01/27/10 16:06:21 (13 years ago)
- Branches:
- master, qt5
- Children:
- 0bb39f5
- Parents:
- 33b5c34
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/tabcontainer.h
r33b5c34 r07ae23a 5 5 #include "ui_tabcontainer.h" 6 6 7 class TabContainer : public QWidget, Ui::TabContainer 7 #include <appsettings.h> 8 #include <sqlengine.h> 9 #include <conference.h> 10 #include <eventmodel.h> 11 12 class TabContainer : public QWidget, public Ui::TabContainer 8 13 { 9 14 Q_OBJECT 10 15 public: 11 16 12 // type of the container 13 // specifies the type of the data that treeView holds 14 enum Type 17 TabContainer(QWidget *aParent = NULL); 18 virtual ~TabContainer() {} 19 20 protected: 21 virtual void loadEvents( const QDate &aDate, const int aConferenceId ) 15 22 { 16 EContainerTypeNone = 0, 17 EContainerTypeDay, 18 EContainerTypeFavs, 19 EContainerTypeTracks, 20 EContainerTypeRooms, 21 EContainerTypeSearch, 22 EContainerTypeNow 23 Q_UNUSED(aDate); 24 Q_UNUSED(aConferenceId); 23 25 }; 24 25 TabContainer(QWidget *aParent = NULL);26 ~TabContainer() {}27 void setType(TabContainer::Type aType);28 26 29 27 signals: … … 31 29 32 30 public slots: 33 v oid updateTreeViewModel(int aEventId);31 virtual void updateTreeViewModel(int aEventId); 34 32 void setDates(const QDate &aStart, const QDate &aEnd); 35 33 36 pr ivateslots:34 protected slots: 37 35 void updateTreeView(const QDate &aDate); 38 void timerUpdateTreeView();39 36 void itemClicked(const QModelIndex &aIndex); 40 37 void displayMap(const QModelIndex &aIndex); 41 38 void displayWarning(const QModelIndex &aIndex); 42 void searchClicked();43 void searchAgainClicked();44 45 private:46 TabContainer::Type mType;47 39 }; 48 40
Note: See TracChangeset
for help on using the changeset viewer.