1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/mapcenterobj.h Wed May 06 11:06:17 2009 +0000
1.3 @@ -0,0 +1,35 @@
1.4 +#ifndef MAPCENTEROBJ_H
1.5 +#define MAPCENTEROBJ_H
1.6 +
1.7 +#include "branchobj.h"
1.8 +#include "version.h"
1.9 +
1.10 +/////////////////////////////////////////////////////////////////////////////
1.11 +class MapCenterObj:public BranchObj {
1.12 +public:
1.13 + MapCenterObj ();
1.14 + MapCenterObj (QCanvas*);
1.15 + ~MapCenterObj ();
1.16 + void clear();
1.17 + void init();
1.18 + virtual void move (double,double);
1.19 + virtual void moveBy (double,double);
1.20 + virtual void moveAll (double,double);
1.21 + virtual void moveAllBy (double,double);
1.22 + virtual void updateLink();
1.23 + LinkableMapObj* findMapObj(QPoint,LinkableMapObj*); // find MapObj
1.24 + virtual QString saveToDir (const QString&,const QString&,int, const QPoint&);// Save data recursivly to tempdir
1.25 + void setVersion(const QString &);
1.26 + bool checkVersion(); // check if program version is higher than saved version
1.27 + void setAuthor (const QString &);
1.28 + QString getAuthor ();
1.29 + void setComment (const QString &);
1.30 + QString getComment ();
1.31 + QString getDate();
1.32 +private:
1.33 + QString version; // version string saved in vym file
1.34 + QString author;
1.35 + QString comment;
1.36 + QDate date;
1.37 +};
1.38 +#endif