mapcenterobj.h
author insilmaril
Wed Apr 11 09:21:14 2007 +0000 (2007-04-11)
changeset 450 beb875135811
parent 404 53efc2562a7d
child 459 9bc55005a0f1
permissions -rw-r--r--
Updated documentation about macros
     1 #ifndef MAPCENTEROBJ_H
     2 #define MAPCENTEROBJ_H
     3 
     4 
     5 #include <QDate>
     6 
     7 #include "branchobj.h"
     8 
     9 /////////////////////////////////////////////////////////////////////////////
    10 class MapCenterObj:public BranchObj {
    11 public:
    12     MapCenterObj ();
    13     MapCenterObj (QGraphicsScene *);
    14     ~MapCenterObj ();
    15     void clear();
    16     void init();
    17     virtual void move      (double,double);
    18     virtual void moveBy    (double,double);
    19     virtual void moveAll   (double,double);
    20     virtual void moveAllBy (double,double);
    21     virtual void updateLink();
    22     virtual void updateRelPositions();
    23     LinkableMapObj* findMapObj(QPointF,LinkableMapObj*);	// find MapObj 
    24 	virtual QString saveToDir (const QString&,const QString&,int, const QPointF&);// Save data recursivly to tempdir
    25 	void setVersion(const  QString &);
    26 	void setAuthor  (const QString &);
    27 	QString getAuthor ();
    28 	void setComment (const QString &);
    29 	QString getComment ();
    30 	QString getDate();
    31 private:
    32 	QString version;					// version string saved in vym file
    33 	QString author;
    34 	QString comment;
    35 	QDate date;
    36 };
    37 #endif