diff -r 6b0a5f4923d3 -r 0fad394bc330 treeitem.h --- a/treeitem.h Thu Sep 17 09:41:09 2009 +0000 +++ b/treeitem.h Wed Mar 10 15:36:19 2010 +0000 @@ -135,12 +135,13 @@ virtual bool canMoveUp(); protected: - QString objID; //! id set during load/save currently used for xLinks + static uint idLast; // the last used unique ID + uint id; public: - virtual void setID (const QString &s); - virtual QString getID (); + virtual uint getID (); // Navigation and selection + virtual TreeItem* findID (const uint &n); virtual TreeItem* getChildNum(const int &n); virtual BranchItem* getFirstBranch(); virtual BranchItem* getLastBranch(); @@ -194,7 +195,6 @@ int xlinkOffset; int xlinkCounter; - }; #endif