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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kturtle/src/canvas.cpp b/kturtle/src/canvas.cpp
index e0a4ed05..c0b3910a 100644
--- a/kturtle/src/canvas.cpp
+++ b/kturtle/src/canvas.cpp
@@ -75,10 +75,10 @@ const double DEG2RAD = 3.14159265358979323846/180;
// BEGIN public methods
-Canvas::Canvas(TQWidget *tqparent, const char *name) : TQCanvasView(0, tqparent, name)
+Canvas::Canvas(TQWidget *parent, const char *name) : TQCanvasView(0, parent, name)
{
// Create a new canvas for this view
- canvas = new TQCanvas(TQT_TQOBJECT(tqparent));
+ canvas = new TQCanvas(TQT_TQOBJECT(parent));
canvas->setAdvancePeriod(250); // refresh-rate in [ms]
// set initial values