mapcenterobj.h
author insilmaril
Mon Nov 20 12:12:05 2006 +0000 (2006-11-20)
changeset 405 a4532e5c2ce3
parent 395 7ced3733ba60
child 408 c2a05fa925a1
permissions -rw-r--r--
historywindow moved to mainwindow. Started to get rid of Q3PtrList finally
     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 (Q3Canvas*);
    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(QPoint,LinkableMapObj*);	// find MapObj 
    24 	virtual QString saveToDir (const QString&,const QString&,int, const QPoint&);// 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