summaryrefslogtreecommitdiffstats
path: root/tutorial/t11
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t11')
-rw-r--r--tutorial/t11/cannon.cpp2
-rw-r--r--tutorial/t11/cannon.h2
-rw-r--r--tutorial/t11/lcdrange.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/tutorial/t11/cannon.cpp b/tutorial/t11/cannon.cpp
index ad23174e7..bfbc12a10 100644
--- a/tutorial/t11/cannon.cpp
+++ b/tutorial/t11/cannon.cpp
@@ -145,7 +145,7 @@ TQRect CannonField::shotRect() const
double y = y0 + vely*time - 0.5*gravity*time*time;
TQRect r = TQRect( 0, 0, 6, 6 );
- r.moveCenter( TQPoint( qRound(x), height() - 1 - qRound(y) ) );
+ r.moveCenter( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) );
return r;
}
diff --git a/tutorial/t11/cannon.h b/tutorial/t11/cannon.h
index 35af0527b..b3b79fb98 100644
--- a/tutorial/t11/cannon.h
+++ b/tutorial/t11/cannon.h
@@ -15,7 +15,7 @@ class TQTimer;
class CannonField : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
CannonField( TQWidget *parent=0, const char *name=0 );
diff --git a/tutorial/t11/lcdrange.h b/tutorial/t11/lcdrange.h
index 2b689a3bf..cbb69b4b7 100644
--- a/tutorial/t11/lcdrange.h
+++ b/tutorial/t11/lcdrange.h
@@ -14,7 +14,7 @@ class TQSlider;
class LCDRange : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
LCDRange( TQWidget *parent=0, const char *name=0 );