From ee3f7eafae9e2e570c95e1afa9bea156ba3bf736 Mon Sep 17 00:00:00 2001 From: Jan Darmochwal Date: Sun, 3 Oct 2010 18:39:42 +0200 Subject: 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 --- src/dialog.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/dialog.h') 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 #include #include "session.h" +#include "sessiontreemodel.h" namespace Ui { class Dialog; @@ -22,12 +23,12 @@ protected: private: Ui::Dialog *ui; - QList 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 -- cgit v1.2.3-55-g7522