author | insilmaril |
Mon May 18 09:41:31 2009 +0000 (2009-05-18) | |
changeset 770 | 57ce1ba6d1cb |
parent 760 | 59614eaf5fbb |
child 773 | 340bc29da9a0 |
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@727 | 9 |
|
insilmaril@727 | 10 |
class VymModel; |
insilmaril@727 | 11 |
|
insilmaril@459 | 12 |
/*! \brief The center of the map is a special branch. */ |
insilmaril@459 | 13 |
|
insilmaril@0 | 14 |
///////////////////////////////////////////////////////////////////////////// |
insilmaril@0 | 15 |
class MapCenterObj:public BranchObj { |
insilmaril@0 | 16 |
public: |
insilmaril@0 | 17 |
MapCenterObj (); |
insilmaril@408 | 18 |
MapCenterObj (QGraphicsScene *); |
insilmaril@727 | 19 |
MapCenterObj (QGraphicsScene *, VymModel *); |
insilmaril@0 | 20 |
~MapCenterObj (); |
insilmaril@0 | 21 |
void clear(); |
insilmaril@0 | 22 |
void init(); |
insilmaril@0 | 23 |
virtual void move (double,double); |
insilmaril@681 | 24 |
virtual void move (QPointF absPos); |
insilmaril@0 | 25 |
virtual void moveBy (double,double); |
insilmaril@0 | 26 |
virtual void moveAll (double,double); |
insilmaril@0 | 27 |
virtual void moveAllBy (double,double); |
insilmaril@0 | 28 |
virtual void updateLink(); |
insilmaril@388 | 29 |
virtual void updateRelPositions(); |
insilmaril@0 | 30 |
}; |
insilmaril@0 | 31 |
#endif |