diff -r c2ce9944148c -r 0bba81dde1bc mainwindow.h --- a/mainwindow.h Wed Feb 10 13:48:42 2010 +0000 +++ b/mainwindow.h Fri Feb 19 13:47:03 2010 +0000 @@ -73,6 +73,8 @@ void showEvent (QShowEvent * ); MapEditor* currentMapEditor() const; VymModel* currentModel() const; +public: + VymModel* getModel(uint) const; private slots: void editorChanged(QWidget*); @@ -209,6 +211,7 @@ void settingsToggleAnimation(); void windowToggleNoteEditor(); + void windowToggleTreeEditor(); void windowToggleHistory(); void windowToggleProperty(); void updateHistory(SimpleSettings &); @@ -355,6 +358,7 @@ QAction *actionFormatHideLinkUnselected; QAction *actionViewToggleNoteEditor; + QAction *actionViewToggleTreeEditor; QAction *actionViewToggleHistoryWindow; QAction *actionViewTogglePropertyWindow; QAction *actionViewToggleAntiAlias;