1.1 --- a/headingobj.cpp Wed Mar 01 14:39:04 2006 +0000
1.2 +++ b/headingobj.cpp Mon Oct 30 12:39:37 2006 +0000
1.3 @@ -10,7 +10,7 @@
1.4 init ();
1.5 }
1.6
1.7 -HeadingObj::HeadingObj(QCanvas* c) :MapObj(c)
1.8 +HeadingObj::HeadingObj(Q3Canvas* c) :MapObj(c)
1.9 {
1.10 // cout << "Const HeadingObj\n";
1.11 init ();
1.12 @@ -50,7 +50,7 @@
1.13 h=textline.first()->boundingRect().height();
1.14 else
1.15 h=2;
1.16 - QCanvasText *t;
1.17 + Q3CanvasText *t;
1.18 ho=0;
1.19 for (t=textline.first(); t; t=textline.next() )
1.20 {
1.21 @@ -80,7 +80,7 @@
1.22 // then no selection would be visible, thus we prevent it in ::setText()
1.23 if (!textline.isEmpty() )
1.24 {
1.25 - QCanvasText *t;
1.26 + Q3CanvasText *t;
1.27 for (t=textline.first(); t; t=textline.next() )
1.28 {
1.29 h+=t->boundingRect().height();
1.30 @@ -91,10 +91,10 @@
1.31 bbox.setSize (QSize(w,h));
1.32 }
1.33
1.34 -QCanvasText* HeadingObj::newLine(QString s)
1.35 +Q3CanvasText* HeadingObj::newLine(QString s)
1.36 {
1.37 - QCanvasText *t;
1.38 - t = new QCanvasText(canvas);
1.39 + Q3CanvasText *t;
1.40 + t = new Q3CanvasText(canvas);
1.41 t->setFont (font);
1.42 t->setColor (color);
1.43 t->setZ(Z_TEXT);
1.44 @@ -220,7 +220,7 @@
1.45 if (color!=c)
1.46 {
1.47 color=c;
1.48 - QCanvasText *t;
1.49 + Q3CanvasText *t;
1.50 for (t=textline.first(); t; t=textline.next() )
1.51 t->setColor(c);
1.52 }
1.53 @@ -234,7 +234,7 @@
1.54 void HeadingObj::setVisibility (bool v)
1.55 {
1.56 MapObj::setVisibility(v);
1.57 - QCanvasText *t;
1.58 + Q3CanvasText *t;
1.59 for (t=textline.first(); t; t=textline.next() )
1.60 if (v)
1.61 t->show();