vymmodel.h
changeset 750 ff3b01ce0960
parent 749 9ff332964015
child 753 25a77484ec72
     1.1 --- a/vymmodel.h	Wed Apr 01 15:06:57 2009 +0000
     1.2 +++ b/vymmodel.h	Thu Apr 02 09:46:29 2009 +0000
     1.3 @@ -240,8 +240,8 @@
     1.4  //	QString getHeading (bool &ok,QPoint &p); //!< Get heading, ok if selection is branch
     1.5  
     1.6  private:
     1.7 -	TreeItem* findCurrent;		// next object in find process
     1.8 -	TreeItem* findPrevious;		// next object in find process
     1.9 +	BranchItem* findCurrent;		// next object in find process
    1.10 +	BranchItem* findPrevious;		// next object in find process
    1.11  	bool EOFind;				// true, if search failed
    1.12  public:
    1.13      BranchObj* findText(QString,bool);		// Find object
    1.14 @@ -282,7 +282,7 @@
    1.15  
    1.16  	// The create methods are used to quickly parse a XML file
    1.17  	void createMapCenter();			//!< Create and select MapCenter
    1.18 -	void createBranch();			//!< Create and select Branch
    1.19 +	BranchItem* createBranch();		//!< Create and select Branch
    1.20  	TreeItem* createImage();		//!< Create and select image
    1.21  
    1.22  	/*! \brief Add new mapcenter
    1.23 @@ -551,7 +551,7 @@
    1.24  
    1.25  	void ensureSelectionVisible();			//!< Show selection in all views
    1.26  
    1.27 -	void selectInt(LinkableMapObj*);	
    1.28 +//	void selectInt(LinkableMapObj*);	
    1.29  
    1.30  private:	
    1.31  	void selectNextBranchInt();		// Increment number of branch