diff options
author | Jan Darmochwal | 2010-10-03 18:39:42 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-10-03 18:39:42 +0200 |
commit | ee3f7eafae9e2e570c95e1afa9bea156ba3bf736 (patch) | |
tree | 7ffcb71280a344bde5249069991a1b5b841474df /src/dialog.h | |
parent | Qt port is almost complete (at least it compiles) (diff) | |
download | vmchooser-ee3f7eafae9e2e570c95e1afa9bea156ba3bf736.tar.gz vmchooser-ee3f7eafae9e2e570c95e1afa9bea156ba3bf736.tar.xz vmchooser-ee3f7eafae9e2e570c95e1afa9bea156ba3bf736.zip |
TreeView for sessions (replaces ListView)
TreeView with SessionTreeModel replaces the old List View
Other changes:
* fixed bad copy and paste in CMakeLists.txt
* added make clean to build.sh
* removed moc_ and ui_ files from src
Diffstat (limited to 'src/dialog.h')
-rw-r--r-- | src/dialog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dialog.h b/src/dialog.h index 9f9ac5a..f452c61 100644 --- a/src/dialog.h +++ b/src/dialog.h @@ -5,6 +5,7 @@ #include <QModelIndex> #include <QList> #include "session.h" +#include "sessiontreemodel.h" namespace Ui { class Dialog; @@ -22,12 +23,12 @@ protected: private: Ui::Dialog *ui; - QList<Session*> entries_; + SessionTreeModel *model_; private slots: void on_pushButtonStart_clicked(); void on_pushButtonAbort_clicked(); - void on_listView_activated(QModelIndex index); + void on_treeView_activated(QModelIndex index); }; #endif // DIALOG_H |