summaryrefslogtreecommitdiffstats
path: root/kmdi/test/hello.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kmdi/test/hello.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmdi/test/hello.cpp')
-rw-r--r--kmdi/test/hello.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmdi/test/hello.cpp b/kmdi/test/hello.cpp
index d92233ea6..e6d86eea9 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 );
}
@@ -49,7 +49,7 @@ void Hello::animate()
void Hello::mouseReleaseEvent( TQMouseEvent *e )
{
- if ( rect().contains( e->pos() ) )
+ if ( rect().tqcontains( e->pos() ) )
emit clicked();
}