vymview.h
changeset 770 57ce1ba6d1cb
parent 767 6d2b32f305f9
child 772 e3f722759c7e
     1.1 --- a/vymview.h	Wed May 13 08:26:27 2009 +0000
     1.2 +++ b/vymview.h	Mon May 18 09:41:31 2009 +0000
     1.3 @@ -3,10 +3,11 @@
     1.4  
     1.5  #include <QItemSelectionModel>
     1.6  #include <QSplitter>
     1.7 -#include <QTreeView>
     1.8 +
     1.9  
    1.10  class VymModel;
    1.11  class MapEditor;
    1.12 +class TreeEditor;
    1.13  
    1.14  
    1.15  class VymView : public QSplitter 
    1.16 @@ -14,6 +15,7 @@
    1.17  	Q_OBJECT
    1.18  public:
    1.19  	VymView(VymModel *model);
    1.20 +	void initFocus();
    1.21  	QItemSelectionModel* selectionModel();
    1.22  
    1.23  public slots:
    1.24 @@ -23,7 +25,7 @@
    1.25  
    1.26  private:
    1.27  	VymModel *model;
    1.28 -	QTreeView *treeview;
    1.29 +	TreeEditor *treeEditor;
    1.30  	QItemSelectionModel *selModel;
    1.31  	MapEditor *mapEditor;
    1.32  };