1.1 --- a/treeeditor.h Thu Oct 01 11:48:58 2009 +0000
1.2 +++ b/treeeditor.h Thu Oct 01 13:23:20 2009 +0000
1.3 @@ -2,6 +2,7 @@
1.4 #define TREEEDITOR_H
1.5
1.6 #include <QTreeView>
1.7 +#include <QSortFilterProxyModel>
1.8
1.9 class VymModel;
1.10
1.11 @@ -16,13 +17,16 @@
1.12 TreeEditor(VymModel *m);
1.13 ~TreeEditor();
1.14
1.15 +public slots:
1.16 + void setSortFilter (QString f);
1.17 +
1.18 private slots:
1.19 void cursorUp();
1.20 void cursorDown();
1.21
1.22 private:
1.23 VymModel *model;
1.24 - VymModel *proxyModel;
1.25 + QSortFilterProxyModel *proxyModel;
1.26 };
1.27
1.28 #endif