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