mapeditor.h
changeset 394 67cfa6e6b863
parent 393 053b8645e3e9
child 395 7ced3733ba60
     1.1 --- a/mapeditor.h	Wed Oct 18 10:45:00 2006 +0000
     1.2 +++ b/mapeditor.h	Tue Oct 24 15:36:38 2006 +0000
     1.3 @@ -84,9 +84,9 @@
     1.4      void undo();		// undo last action
     1.5  	bool isUndoAvailable();
     1.6  	void gotoStep (int);// goto a step in history
     1.7 -    void addMapReplace(const QString & undoSel, const QString & path);
     1.8 -    void addMapInsert (const QString & path, int pos);
     1.9  private:	
    1.10 +    void addMapReplaceInt(const QString & undoSel, const QString & path);
    1.11 +    void addMapInsertInt (const QString & path, int pos);
    1.12      void pasteNoSave();		// paste clipboard to branch
    1.13      void cutNoSave();	// cut to clipboard
    1.14  public:	
    1.15 @@ -104,8 +104,8 @@
    1.16  	void setVymLinkInt(const QString &);	// Set vymLink for selection
    1.17      BranchObj* addNewBranchInt(int);		// pos allows to add above/below selection
    1.18  public:	
    1.19 -    void addNewBranch(int);			// pos allows to add above/below selection
    1.20 -    void addNewBranchHere();		// insert and make selection its
    1.21 +    BranchObj* addNewBranch(int);			// pos allows to add above/below selection
    1.22 +    BranchObj* addNewBranchBefore();		// insert and make selection its
    1.23      void deleteSelection();
    1.24  	LinkableMapObj* getSelection();	// returns selection
    1.25  	void unselect();				// before changing current noteedit