vymmodel.h
changeset 745 2d4cc445a86a
parent 742 54d44ecd6097
child 746 ee6b0f3a4c2f
     1.1 --- a/vymmodel.h	Thu Mar 19 11:45:28 2009 +0000
     1.2 +++ b/vymmodel.h	Mon Mar 23 09:06:51 2009 +0000
     1.3 @@ -68,6 +68,10 @@
     1.4  	*/	
     1.5      QString saveToDir (const QString &tmpdir, const QString &prefix, bool writeflags, const QPointF &offset, LinkableMapObj *saveSel);
     1.6  
     1.7 +	/*! Save all data in tree*/
     1.8 +	QString saveTreeToDir (const QString&,const QString&,int, const QPointF&);// Save data recursivly to tempdir
     1.9 +
    1.10 +
    1.11  	/*! \brief Sets filepath, filename and mapname
    1.12  
    1.13  	     If the filepath is "/home/tux/map.xml", then the filename will be set
    1.14 @@ -216,8 +220,6 @@
    1.15      LinkableMapObj* findObjBySelect (const QString &s);		// find MapObj by select string
    1.16      LinkableMapObj* findID (const QString &s);				// find MapObj by previously set ID
    1.17  
    1.18 -	QString saveToDir (const QString&,const QString&,int, const QPointF&);// Save data recursivly to tempdir
    1.19 -
    1.20  
    1.21  ////////////////////////////////////////////
    1.22  // Interface 
    1.23 @@ -415,6 +417,9 @@
    1.24  
    1.25  	//void ensureSelectionVisible();		//!< Show selection in all views
    1.26  
    1.27 +signals:
    1.28 +	void newChildObject(QModelIndex ix);
    1.29 +
    1.30  private:
    1.31  	MapEditor *mapEditor;
    1.32