vymmodel.h
changeset 822 c2ce9944148c
parent 821 4a84d7e444d8
child 823 0bba81dde1bc
     1.1 --- a/vymmodel.h	Thu Jan 21 11:56:57 2010 +0000
     1.2 +++ b/vymmodel.h	Wed Feb 10 13:48:42 2010 +0000
     1.3 @@ -229,7 +229,7 @@
     1.4  	QGraphicsScene *getScene();
     1.5  
     1.6      TreeItem* findBySelectString (QString s);		
     1.7 -    TreeItem* findID (const QString &s);				// find MapObj by previously set ID
     1.8 +    TreeItem* findID (const uint &i);		// find MapObj by unique ID
     1.9  
    1.10  
    1.11  ////////////////////////////////////////////
    1.12 @@ -309,7 +309,7 @@
    1.13      bool moveDown(BranchItem *bi);	//!< Move branch down without saving state
    1.14      void moveDown();		//!< Move branch down
    1.15  	void detach();					//!< Detach branch and use as new mapcenter
    1.16 -	void sortChildren();	//!< Sort children lexically
    1.17 +	void sortChildren(bool inverse=false);	//!< Sort children lexically
    1.18  
    1.19  	// The create methods are used to quickly parse a XML file
    1.20  	BranchItem* createMapCenter();				//!< Create MapCenter