diff -r 000000000000 -r 053479bc23c6 mapcenterobj.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mapcenterobj.h Wed May 06 11:06:17 2009 +0000 @@ -0,0 +1,35 @@ +#ifndef MAPCENTEROBJ_H +#define MAPCENTEROBJ_H + +#include "branchobj.h" +#include "version.h" + +///////////////////////////////////////////////////////////////////////////// +class MapCenterObj:public BranchObj { +public: + MapCenterObj (); + MapCenterObj (QCanvas*); + ~MapCenterObj (); + void clear(); + void init(); + virtual void move (double,double); + virtual void moveBy (double,double); + virtual void moveAll (double,double); + virtual void moveAllBy (double,double); + virtual void updateLink(); + LinkableMapObj* findMapObj(QPoint,LinkableMapObj*); // find MapObj + virtual QString saveToDir (const QString&,const QString&,int, const QPoint&);// Save data recursivly to tempdir + void setVersion(const QString &); + bool checkVersion(); // check if program version is higher than saved version + void setAuthor (const QString &); + QString getAuthor (); + void setComment (const QString &); + QString getComment (); + QString getDate(); +private: + QString version; // version string saved in vym file + QString author; + QString comment; + QDate date; +}; +#endif