1.1 --- a/treeitem.h Tue Apr 07 16:15:53 2009 +0000
1.2 +++ b/treeitem.h Mon Apr 20 10:42:05 2009 +0000
1.3 @@ -76,14 +76,22 @@
1.4 bool isBranchLikeType() const;
1.5 QString getTypeName ();
1.6
1.7 +protected:
1.8 + QString objID; //! id set during load/save currently used for xLinks
1.9 +public:
1.10 + virtual void setID (const QString &s);
1.11 + virtual QString getID ();
1.12 +
1.13 // Navigation and selection
1.14 TreeItem* getChildNum(const int &n);
1.15 BranchItem* getFirstBranch();
1.16 BranchItem* getLastBranch();
1.17 BranchItem* getBranchNum(const int &n);
1.18 BranchObj* getBranchObjNum(const int &n);
1.19 - void setLastSelectedBranch();
1.20 + void setLastSelectedBranch(); //! Set myself as last selected in parent
1.21 + void setLastSelectedBranch(int i); //! Set last selected branch directly
1.22 TreeItem* getLastSelectedBranch();
1.23 + TreeItem* findBySelectString (const QString &);
1.24
1.25 virtual void setHideTmp (HideTmpMode);
1.26 virtual bool hasHiddenExportParent ();