diff -r bbb4eeefcc94 -r 8df2895c131c headingobj.cpp --- a/headingobj.cpp Wed Mar 01 14:39:04 2006 +0000 +++ b/headingobj.cpp Tue Sep 05 11:53:54 2006 +0000 @@ -10,7 +10,7 @@ init (); } -HeadingObj::HeadingObj(QCanvas* c) :MapObj(c) +HeadingObj::HeadingObj(Q3Canvas* c) :MapObj(c) { // cout << "Const HeadingObj\n"; init (); @@ -50,7 +50,7 @@ h=textline.first()->boundingRect().height(); else h=2; - QCanvasText *t; + Q3CanvasText *t; ho=0; for (t=textline.first(); t; t=textline.next() ) { @@ -80,7 +80,7 @@ // then no selection would be visible, thus we prevent it in ::setText() if (!textline.isEmpty() ) { - QCanvasText *t; + Q3CanvasText *t; for (t=textline.first(); t; t=textline.next() ) { h+=t->boundingRect().height(); @@ -91,10 +91,10 @@ bbox.setSize (QSize(w,h)); } -QCanvasText* HeadingObj::newLine(QString s) +Q3CanvasText* HeadingObj::newLine(QString s) { - QCanvasText *t; - t = new QCanvasText(canvas); + Q3CanvasText *t; + t = new Q3CanvasText(canvas); t->setFont (font); t->setColor (color); t->setZ(Z_TEXT); @@ -220,7 +220,7 @@ if (color!=c) { color=c; - QCanvasText *t; + Q3CanvasText *t; for (t=textline.first(); t; t=textline.next() ) t->setColor(c); } @@ -234,7 +234,7 @@ void HeadingObj::setVisibility (bool v) { MapObj::setVisibility(v); - QCanvasText *t; + Q3CanvasText *t; for (t=textline.first(); t; t=textline.next() ) if (v) t->show();