diff -r 053b8645e3e9 -r 67cfa6e6b863 mapeditor.h --- a/mapeditor.h Wed Oct 18 10:45:00 2006 +0000 +++ b/mapeditor.h Tue Oct 24 15:36:38 2006 +0000 @@ -84,9 +84,9 @@ void undo(); // undo last action bool isUndoAvailable(); void gotoStep (int);// goto a step in history - void addMapReplace(const QString & undoSel, const QString & path); - void addMapInsert (const QString & path, int pos); private: + void addMapReplaceInt(const QString & undoSel, const QString & path); + void addMapInsertInt (const QString & path, int pos); void pasteNoSave(); // paste clipboard to branch void cutNoSave(); // cut to clipboard public: @@ -104,8 +104,8 @@ void setVymLinkInt(const QString &); // Set vymLink for selection BranchObj* addNewBranchInt(int); // pos allows to add above/below selection public: - void addNewBranch(int); // pos allows to add above/below selection - void addNewBranchHere(); // insert and make selection its + BranchObj* addNewBranch(int); // pos allows to add above/below selection + BranchObj* addNewBranchBefore(); // insert and make selection its void deleteSelection(); LinkableMapObj* getSelection(); // returns selection void unselect(); // before changing current noteedit