1.1 --- a/vymmodel.h Thu Aug 06 10:42:17 2009 +0000
1.2 +++ b/vymmodel.h Sat Aug 08 21:58:26 2009 +0000
1.3 @@ -565,37 +565,29 @@
1.4 bool select (TreeItem *ti ); //! Select by pointer to TreeItem
1.5 bool select (const QModelIndex &index); //! Select by ModelIndex
1.6 void unselect();
1.7 - void reselect();
1.8 + bool reselect();
1.9
1.10 void emitShowSelection(); //!< Show selection in all views
1.11 signals:
1.12 void showSelection();
1.13
1.14 -// void selectInt(LinkableMapObj*); //FIXME-4
1.15 +// bool selectInt(LinkableMapObj*); //FIXME-4
1.16
1.17 -private:
1.18 - void selectNextBranchInt(); // Increment number of branch
1.19 - void selectPrevBranchInt(); //! Select the branch which would be above in vymmap view
1.20 - void selectAboveBranchInt(); //! Select the branch which would be above current selection in TreeView
1.21 - void selectBelowBranchInt(); // Increment number of branch
1.22 public:
1.23 - void selectUpperBranch();
1.24 - void selectLowerBranch();
1.25 - void selectLeftBranch();
1.26 - void selectRightBranch();
1.27 - void selectFirstBranch();
1.28 - void selectLastBranch();
1.29 - void selectLastSelectedBranch();
1.30 - void selectParent();
1.31 + bool selectFirstBranch();
1.32 + bool selectLastBranch();
1.33 + bool selectLastSelectedBranch();
1.34 + bool selectParent();
1.35
1.36 public:
1.37 TreeItem::Type selectionType();
1.38 LinkableMapObj* getSelectedLMO();
1.39 BranchObj* getSelectedBranchObj(); // FIXME-3 replace by item...
1.40 - BranchItem* getSelectedBranchItem();
1.41 + BranchItem* getSelectedBranch();
1.42 + ImageItem* getSelectedImage();
1.43 + AttributeItem* getSelectedAttribute();
1.44 TreeItem* getSelectedItem();
1.45 QModelIndex getSelectedIndex();
1.46 - ImageItem* getSelectedImageItem();
1.47 QString getSelectString ();
1.48 QString getSelectString (LinkableMapObj *lmo);
1.49 QString getSelectString (TreeItem *item);