changed MapEditor::undo and saveState so that selection is saved, too (bgugfix)
6 class HeadingObj:public MapObj {
10 virtual ~HeadingObj();
12 virtual void copy(HeadingObj*);
13 virtual void move (double x,double y); // move to absolute Position
14 virtual void moveBy (double x,double y); // move to relative Position
15 virtual void positionBBox();
16 virtual void calcBBoxSize();
18 QCanvasText* newLine(QString); // generate new textline
20 virtual void setText(QString);
21 virtual QString text();
22 virtual void setFont(QFont);
23 virtual QFont getFont();
24 virtual void setColor(QColor);
25 virtual QColor getColor();
26 virtual void setVisibility(bool);
27 virtual int getHeight();
28 virtual int getWidth();
32 uint textwidth; // width for formatting text
33 QPtrList <QCanvasText> textline; // a part of e.g. the parabel