summaryrefslogtreecommitdiffstats
path: root/tutorial/t12
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /tutorial/t12
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'tutorial/t12')
-rw-r--r--tutorial/t12/cannon.cpp2
-rw-r--r--tutorial/t12/cannon.h2
-rw-r--r--tutorial/t12/lcdrange.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/tutorial/t12/cannon.cpp b/tutorial/t12/cannon.cpp
index e4552394b..597c54645 100644
--- a/tutorial/t12/cannon.cpp
+++ b/tutorial/t12/cannon.cpp
@@ -180,7 +180,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/t12/cannon.h b/tutorial/t12/cannon.h
index 33d5accc2..79e58ea38 100644
--- a/tutorial/t12/cannon.h
+++ b/tutorial/t12/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/t12/lcdrange.h b/tutorial/t12/lcdrange.h
index 41bf78fb7..d71bccb38 100644
--- a/tutorial/t12/lcdrange.h
+++ b/tutorial/t12/lcdrange.h
@@ -15,7 +15,7 @@ class TQLabel;
class LCDRange : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
LCDRange( TQWidget *parent=0, const char *name=0 );
LCDRange( const char *s, TQWidget *parent=0,