diff options
Diffstat (limited to 'kmdi/test')
-rw-r--r-- | kmdi/test/hello.cpp | 6 | ||||
-rw-r--r-- | kmdi/test/hello.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kmdi/test/hello.cpp b/kmdi/test/hello.cpp index d92233ea6..a560a8902 100644 --- a/kmdi/test/hello.cpp +++ b/kmdi/test/hello.cpp @@ -18,8 +18,8 @@ Constructs a Hello widget. Starts a 40 ms animation timer. */ -Hello::Hello( const char *title, const char *text, TQWidget *parentWidget ) - : KMdiChildView(title, parentWidget), t(text), b(0) +Hello::Hello( const char *title, const char *text, TQWidget *tqparentWidget ) + : KMdiChildView(title, tqparentWidget), t(text), b(0) { TQTimer *timer = new TQTimer(this); TQObject::connect( timer, TQT_SIGNAL(timeout()), TQT_SLOT(animate()) ); @@ -36,7 +36,7 @@ Hello::Hello( const char *title, const char *text, TQWidget *parentWidget ) void Hello::animate() { b = (b + 1) & 15; - repaint( false ); + tqrepaint( false ); } diff --git a/kmdi/test/hello.h b/kmdi/test/hello.h index 808d25b90..762318d87 100644 --- a/kmdi/test/hello.h +++ b/kmdi/test/hello.h @@ -22,7 +22,7 @@ class Hello : public KMdiChildView { Q_OBJECT public: - Hello( const char *title, const char *text, TQWidget* parentWidget = 0 ); + Hello( const char *title, const char *text, TQWidget* tqparentWidget = 0 ); signals: void clicked(); protected: |