1.1 --- a/treeeditor.h Fri Oct 02 09:40:57 2009 +0000
1.2 +++ b/treeeditor.h Wed Nov 25 15:28:05 2009 +0000
1.3 @@ -2,7 +2,7 @@
1.4 #define TREEEDITOR_H
1.5
1.6 #include <QTreeView>
1.7 -#include <QSortFilterProxyModel>
1.8 +#include "mysortfilterproxymodel.h"
1.9
1.10 class VymModel;
1.11
1.12 @@ -16,7 +16,8 @@
1.13 public:
1.14 TreeEditor(VymModel *m);
1.15 ~TreeEditor();
1.16 - QSortFilterProxyModel *getProxyModel();
1.17 + MySortFilterProxyModel *getProxyModel();
1.18 + QModelIndex getSelectedIndex();
1.19
1.20 public slots:
1.21 void setSortFilter (QString f);
1.22 @@ -27,7 +28,7 @@
1.23
1.24 private:
1.25 VymModel *model;
1.26 - QSortFilterProxyModel *proxyModel;
1.27 + MySortFilterProxyModel *proxyModel;
1.28 };
1.29
1.30 #endif