1.1 --- a/vymmodel.h Mon Apr 20 10:42:05 2009 +0000
1.2 +++ b/vymmodel.h Thu Apr 23 12:15:31 2009 +0000
1.3 @@ -309,7 +309,7 @@
1.4 MapCenterObj* getLastMapCenter(); //!< get last added MapCenter, used for context menu
1.5
1.6 private:
1.7 - BranchObj* addNewBranchInt(int); // pos allows to add above/below selection
1.8 + BranchItem* addNewBranchInt(int); // pos allows to add above/below selection
1.9 public:
1.10 /*! \Add new branch
1.11
1.12 @@ -318,8 +318,9 @@
1.13 0 as child of selection
1.14 1 below selection
1.15 */
1.16 - BranchObj* addNewBranch(int pos);
1.17 - BranchObj* addNewBranchBefore(); //!< Insert branch between selection and its parent
1.18 + BranchItem* addNewBranch(int pos);
1.19 + BranchItem* addNewBranchBefore(); //!< Insert branch between selection and its parent
1.20 + BranchItem* relinkBranch (BranchItem* branch, BranchItem* dst, int pos =-1); //! Relink branch to dst at position pos
1.21 void deleteSelection(); //!< Delete selection
1.22 void deleteKeepChildren(); //!< remove branch, but keep children
1.23 void deleteChildren(); //!< keep branch, but remove children
1.24 @@ -558,7 +559,9 @@
1.25
1.26 private:
1.27 void selectNextBranchInt(); // Increment number of branch
1.28 - void selectPrevBranchInt(); // Decrement number of branch
1.29 + void selectPrevBranchInt(); //! Select the branch which would be above in vymmap view
1.30 + void selectAboveBranchInt(); //! Select the branch which would be above current selection in TreeView
1.31 + void selectBelowBranchInt(); // Increment number of branch
1.32 public:
1.33 void selectUpperBranch();
1.34 void selectLowerBranch();