diff -r 1c8ff1928b97 -r bc23a0157a39 headingobj.h --- a/headingobj.h Thu Nov 23 13:53:08 2006 +0000 +++ b/headingobj.h Fri Dec 29 13:52:17 2006 +0000 @@ -6,7 +6,7 @@ class HeadingObj:public MapObj { public: HeadingObj(); - HeadingObj(Q3Canvas*); + HeadingObj(QGraphicsScene*); virtual ~HeadingObj(); virtual void init(); virtual void copy(HeadingObj*); @@ -15,7 +15,7 @@ virtual void positionBBox(); virtual void calcBBoxSize(); private: - Q3CanvasText* newLine(QString); // generate new textline + QGraphicsTextItem* newLine(QString); // generate new textline public: virtual void setText(QString); virtual QString text(); @@ -24,13 +24,13 @@ virtual void setColor(QColor); virtual QColor getColor(); virtual void setVisibility(bool); - virtual int getHeight(); - virtual int getWidth(); + virtual qreal getHeight(); + virtual qreal getWidth(); protected: QString heading; int textwidth; // width for formatting text - QList textline; // a part of e.g. the parabel + QList textline; // a part of e.g. the parabel QColor color; QFont font; };