summaryrefslogtreecommitdiffstats
path: root/kturtle/src/canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kturtle/src/canvas.cpp')
-rw-r--r--kturtle/src/canvas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kturtle/src/canvas.cpp b/kturtle/src/canvas.cpp
index 5d14ead3..8564d6ae 100644
--- a/kturtle/src/canvas.cpp
+++ b/kturtle/src/canvas.cpp
@@ -78,7 +78,7 @@ const double DEG2RAD = 3.14159265358979323846/180;
Canvas::Canvas(TQWidget *parent, const char *name) : TQCanvasView(0, parent, name)
{
// Create a new canvas for this view
- canvas = new TQCanvas(TQT_TQOBJECT(parent));
+ canvas = new TQCanvas(parent);
canvas->setAdvancePeriod(250); // refresh-rate in [ms]
// set initial values
@@ -403,7 +403,7 @@ void Canvas::line(double xa, double ya, double xb, double yb)
xb + translation.x() * canvasWidth, yb + translation.y() * canvasHeight);
if (cutLoop == true)
{
- // kdDebug(0)<<"Canvas::line(): cutLoop is set to TRUE! ABORT LINE MISSION"<<endl;
+ // kdDebug(0)<<"Canvas::line(): cutLoop is set to true! ABORT LINE MISSION"<<endl;
return;
}
}
@@ -418,7 +418,7 @@ bool Canvas::endlessLoop(TQPoint begin, TQPoint end)
// this is to break the horrible endless loop bug that i cannot fix...
// i need more simple reproductions of this bug to really find it
// for now i say it is something with TQCanvas but i'm likely wrong on thisone
- // kdDebug(0)<<"Canvas::endlessLoop TRUE!!"<<endl;
+ // kdDebug(0)<<"Canvas::endlessLoop true!!"<<endl;
return true;
}
else