diff -r 382a444f5b0c -r a6931cd6309a vymview.h --- a/vymview.h Thu May 14 12:42:58 2009 +0000 +++ b/vymview.h Fri May 15 15:22:15 2009 +0000 @@ -3,10 +3,11 @@ #include #include -#include + class VymModel; class MapEditor; +class TreeEditor; class VymView : public QSplitter @@ -14,6 +15,7 @@ Q_OBJECT public: VymView(VymModel *model); + void initFocus(); QItemSelectionModel* selectionModel(); public slots: @@ -23,7 +25,7 @@ private: VymModel *model; - QTreeView *treeview; + TreeEditor *treeEditor; QItemSelectionModel *selModel; MapEditor *mapEditor; };