summaryrefslogtreecommitdiffstats
path: root/tutorial/t13
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t13')
-rw-r--r--tutorial/t13/cannon.cpp2
-rw-r--r--tutorial/t13/cannon.h2
-rw-r--r--tutorial/t13/gamebrd.h2
-rw-r--r--tutorial/t13/lcdrange.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/tutorial/t13/cannon.cpp b/tutorial/t13/cannon.cpp
index f97ddd2fe..85a038f0c 100644
--- a/tutorial/t13/cannon.cpp
+++ b/tutorial/t13/cannon.cpp
@@ -206,7 +206,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/t13/cannon.h b/tutorial/t13/cannon.h
index adb28acdc..f64fd7df2 100644
--- a/tutorial/t13/cannon.h
+++ b/tutorial/t13/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/t13/gamebrd.h b/tutorial/t13/gamebrd.h
index 9ad0cedc3..b409ad16e 100644
--- a/tutorial/t13/gamebrd.h
+++ b/tutorial/t13/gamebrd.h
@@ -20,7 +20,7 @@ class CannonField;
class GameBoard : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GameBoard( TQWidget *parent=0, const char *name=0 );
diff --git a/tutorial/t13/lcdrange.h b/tutorial/t13/lcdrange.h
index 80738533b..19bd019c4 100644
--- a/tutorial/t13/lcdrange.h
+++ b/tutorial/t13/lcdrange.h
@@ -15,7 +15,7 @@ class TQLabel;
class LCDRange : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
LCDRange( TQWidget *parent=0, const char *name=0 );
LCDRange( const char *s, TQWidget *parent=0, const char *name=0 );