1.1 --- a/headingobj.h Sun Jan 30 12:58:47 2005 +0000
1.2 +++ b/headingobj.h Tue Sep 05 11:53:54 2006 +0000
1.3 @@ -2,11 +2,13 @@
1.4 #define HEADINGOBJ_H
1.5
1.6 #include "mapobj.h"
1.7 +//Added by qt3to4:
1.8 +#include <Q3PtrList>
1.9
1.10 class HeadingObj:public MapObj {
1.11 public:
1.12 HeadingObj();
1.13 - HeadingObj(QCanvas*);
1.14 + HeadingObj(Q3Canvas*);
1.15 virtual ~HeadingObj();
1.16 virtual void init();
1.17 virtual void copy(HeadingObj*);
1.18 @@ -15,7 +17,7 @@
1.19 virtual void positionBBox();
1.20 virtual void calcBBoxSize();
1.21 private:
1.22 - QCanvasText* newLine(QString); // generate new textline
1.23 + Q3CanvasText* newLine(QString); // generate new textline
1.24 public:
1.25 virtual void setText(QString);
1.26 virtual QString text();
1.27 @@ -30,7 +32,7 @@
1.28 protected:
1.29 QString heading;
1.30 uint textwidth; // width for formatting text
1.31 - QPtrList <QCanvasText> textline; // a part of e.g. the parabel
1.32 + Q3PtrList <Q3CanvasText> textline; // a part of e.g. the parabel
1.33 QColor color;
1.34 QFont font;
1.35 };