diff -r ffb95cd03156 -r 8c028a5d9083 vymmodel.h --- a/vymmodel.h Thu Apr 30 11:52:49 2009 +0000 +++ b/vymmodel.h Fri May 01 10:30:29 2009 +0000 @@ -329,6 +329,11 @@ void toggleScroll(); void unscrollChildren(); + void emitExpandAll(); +signals: + void expandAll(); + +public: void addFloatImage(const QPixmap &img); void colorBranch(QColor); @@ -416,8 +421,6 @@ QPolygonF shape(BranchObj *bo); //!< Returns arbitrary shape of subtree void moveAway (LinkableMapObj *lmo);//!< Autolayout: Move all out of the way - //void ensureSelectionVisible(); //!< Show selection in all views - void emitNoteHasChanged (TreeItem *ti); void emitDataHasChanged (TreeItem *ti); @@ -545,12 +548,14 @@ bool select (); // select by using common QItemSlectionModel bool select (const QString &); // Select by string - bool select (LinkableMapObj *lmo); // Select by pointer to LMO + bool select (LinkableMapObj *lmo); // Select by pointer tog LMO bool select (TreeItem *ti ); // Select by point to TreeItem void unselect(); void reselect(); - void ensureSelectionVisible(); //!< Show selection in all views + void emitShowSelection(); //!< Show selection in all views +signals: + void showSelection(); // void selectInt(LinkableMapObj*); //FIXME-4