diff -r c2ce9944148c -r 0bba81dde1bc vymmodel.h --- a/vymmodel.h Wed Feb 10 13:48:42 2010 +0000 +++ b/vymmodel.h Fri Feb 19 13:47:03 2010 +0000 @@ -34,6 +34,9 @@ QString comment; QDate date; + static uint idLast; //! the last used unique ID + uint mapID; + public: VymModel(); ~VymModel (); @@ -42,6 +45,7 @@ void makeTmpDirectories(); //!< create temporary directories e.g. for history MapEditor* getMapEditor(); // FIXME-2 still necessary? + uint getID(); //! Return unique ID of model bool isRepositionBlocked(); //!< While load or undo there is no need to update graphicsview