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