diff -r ac4be290c750 -r 84ae10f6e3a3 vymmodel.h --- a/vymmodel.h Thu Jan 15 00:52:35 2009 +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();