diff -r a8a98a94899a -r 84ae10f6e3a3 vymmodel.h --- a/vymmodel.h Tue Nov 04 12:09:10 2008 +0000 +++ b/vymmodel.h Tue Jan 20 15:23:16 2009 +0000 @@ -554,16 +554,20 @@ void selectRightBranch(); void selectFirstBranch(); void selectLastBranch(); + void selectLastSelectedBranch(); void selectParent(); public: - Selection::Type selectionType(); - LinkableMapObj* getSelection(); + TreeItem::Type selectionType(); + LinkableMapObj* getSelectedLMO(); BranchObj* getSelectedBranch(); + TreeItem* getSelectedTreeItem(); + QModelIndex getSelectedIndex(); FloatImageObj* getSelectedFloatImage(); QString getSelectString (); QString getSelectString (LinkableMapObj *lmo); + void updateSelection(const QItemSelection &oldsel); void updateSelection(); void selectMapLinkColor(); void selectMapSelectionColor();