mapcenterobj.h
author insilmaril
Mon May 15 07:34:54 2006 +0000 (2006-05-15)
changeset 330 d39c67b49cbd
parent 83 e90f5bef70c8
child 364 7b74fa3772bf
permissions -rw-r--r--
removed wiki style
     1 #ifndef MAPCENTEROBJ_H
     2 #define MAPCENTEROBJ_H
     3 
     4 #include "branchobj.h"
     5 #include "xlinkobj.h"
     6 #include "version.h"
     7 
     8 /////////////////////////////////////////////////////////////////////////////
     9 class MapCenterObj:public BranchObj {
    10 public:
    11     MapCenterObj ();
    12     MapCenterObj (QCanvas*);
    13     ~MapCenterObj ();
    14     void clear();
    15     void init();
    16     virtual void move      (double,double);
    17     virtual void moveBy    (double,double);
    18     virtual void moveAll   (double,double);
    19     virtual void moveAllBy (double,double);
    20     virtual void updateLink();
    21     LinkableMapObj* findMapObj(QPoint,LinkableMapObj*);	// find MapObj 
    22 	virtual QString saveToDir (const QString&,const QString&,int, const QPoint&);// Save data recursivly to tempdir
    23 	void setVersion(const  QString &);
    24 	bool checkVersion();				// check if program version is higher than saved version
    25 	void setAuthor  (const QString &);
    26 	QString getAuthor ();
    27 	void setComment (const QString &);
    28 	QString getComment ();
    29 	QString getDate();
    30 private:
    31 	QString version;					// version string saved in vym file
    32 	QString author;
    33 	QString comment;
    34 	QDate date;
    35 };
    36 #endif