1.1 --- a/treeitem.h Thu Sep 17 09:41:09 2009 +0000
1.2 +++ b/treeitem.h Wed Mar 10 15:36:19 2010 +0000
1.3 @@ -135,12 +135,13 @@
1.4 virtual bool canMoveUp();
1.5
1.6 protected:
1.7 - QString objID; //! id set during load/save currently used for xLinks
1.8 + static uint idLast; // the last used unique ID
1.9 + uint id;
1.10 public:
1.11 - virtual void setID (const QString &s);
1.12 - virtual QString getID ();
1.13 + virtual uint getID ();
1.14
1.15 // Navigation and selection
1.16 + virtual TreeItem* findID (const uint &n);
1.17 virtual TreeItem* getChildNum(const int &n);
1.18 virtual BranchItem* getFirstBranch();
1.19 virtual BranchItem* getLastBranch();
1.20 @@ -194,7 +195,6 @@
1.21
1.22 int xlinkOffset;
1.23 int xlinkCounter;
1.24 -
1.25 };
1.26
1.27 #endif