diff -r db0ec4bcf416 -r ed5b407975b3 vymmodel.h --- a/vymmodel.h Mon Apr 20 10:42:05 2009 +0000 +++ b/vymmodel.h Thu Apr 23 12:15:31 2009 +0000 @@ -309,7 +309,7 @@ MapCenterObj* getLastMapCenter(); //!< get last added MapCenter, used for context menu private: - BranchObj* addNewBranchInt(int); // pos allows to add above/below selection + BranchItem* addNewBranchInt(int); // pos allows to add above/below selection public: /*! \Add new branch @@ -318,8 +318,9 @@ 0 as child of selection 1 below selection */ - BranchObj* addNewBranch(int pos); - BranchObj* addNewBranchBefore(); //!< Insert branch between selection and its parent + BranchItem* addNewBranch(int pos); + BranchItem* addNewBranchBefore(); //!< Insert branch between selection and its parent + BranchItem* relinkBranch (BranchItem* branch, BranchItem* dst, int pos =-1); //! Relink branch to dst at position pos void deleteSelection(); //!< Delete selection void deleteKeepChildren(); //!< remove branch, but keep children void deleteChildren(); //!< keep branch, but remove children @@ -558,7 +559,9 @@ private: void selectNextBranchInt(); // Increment number of branch - void selectPrevBranchInt(); // Decrement number of branch + void selectPrevBranchInt(); //! Select the branch which would be above in vymmap view + void selectAboveBranchInt(); //! Select the branch which would be above current selection in TreeView + void selectBelowBranchInt(); // Increment number of branch public: void selectUpperBranch(); void selectLowerBranch();