vymmodel.h
changeset 763 8c028a5d9083
parent 761 0301e6109702
child 766 7a71a914afdb
     1.1 --- a/vymmodel.h	Thu Apr 30 11:52:49 2009 +0000
     1.2 +++ b/vymmodel.h	Fri May 01 10:30:29 2009 +0000
     1.3 @@ -329,6 +329,11 @@
     1.4      void toggleScroll();
     1.5      void unscrollChildren();
     1.6  
     1.7 +	void emitExpandAll();
     1.8 +signals:	
     1.9 +	void expandAll();
    1.10 +
    1.11 +public:	
    1.12      void addFloatImage(const QPixmap &img);
    1.13  
    1.14      void colorBranch(QColor);
    1.15 @@ -416,8 +421,6 @@
    1.16  	QPolygonF shape(BranchObj *bo);		//!< Returns arbitrary shape of subtree
    1.17  	void moveAway (LinkableMapObj *lmo);//!< Autolayout: Move all out of the way
    1.18  
    1.19 -	//void ensureSelectionVisible();		//!< Show selection in all views
    1.20 -
    1.21  	void emitNoteHasChanged (TreeItem *ti);
    1.22  	void emitDataHasChanged (TreeItem *ti);
    1.23  
    1.24 @@ -545,12 +548,14 @@
    1.25  
    1.26  	bool select ();							// select by using common QItemSlectionModel
    1.27  	bool select (const QString &);			// Select by string
    1.28 -	bool select (LinkableMapObj *lmo);		// Select by pointer to LMO
    1.29 +	bool select (LinkableMapObj *lmo);		// Select by pointer tog LMO
    1.30  	bool select (TreeItem *ti );			// Select by point to TreeItem
    1.31  	void unselect();
    1.32  	void reselect();
    1.33  
    1.34 -	void ensureSelectionVisible();			//!< Show selection in all views
    1.35 +	void emitShowSelection();				//!< Show selection in all views
    1.36 +signals:
    1.37 +	void showSelection();
    1.38  
    1.39  //	void selectInt(LinkableMapObj*);	//FIXME-4
    1.40