From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/t13-cannon-h.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/html/t13-cannon-h.html') diff --git a/doc/html/t13-cannon-h.html b/doc/html/t13-cannon-h.html index c976f85a5..93c46edc8 100644 --- a/doc/html/t13-cannon-h.html +++ b/doc/html/t13-cannon-h.html @@ -44,20 +44,20 @@ body { background: #ffffff; color: black; } class TQTimer; -#include <qwidget.h> +#include <ntqwidget.h> -class CannonField : public TQWidget +class CannonField : public TQWidget { Q_OBJECT public: - CannonField( TQWidget *parent=0, const char *name=0 ); + CannonField( TQWidget *parent=0, const char *name=0 ); int angle() const { return ang; } int force() const { return f; } bool gameOver() const { return gameEnded; } bool isShooting() const; - TQSizePolicy sizePolicy() const; + TQSizePolicy sizePolicy() const; public slots: void setAngle( int degrees ); @@ -81,22 +81,22 @@ protected: void paintEvent( TQPaintEvent * ); private: - void paintShot( TQPainter * ); - void paintTarget( TQPainter * ); - void paintCannon( TQPainter * ); - TQRect cannonRect() const; - TQRect shotRect() const; - TQRect targetRect() const; + void paintShot( TQPainter * ); + void paintTarget( TQPainter * ); + void paintCannon( TQPainter * ); + TQRect cannonRect() const; + TQRect shotRect() const; + TQRect targetRect() const; int ang; int f; int timerCount; - TQTimer * autoShootTimer; + TQTimer * autoShootTimer; float shoot_ang; float shoot_f; - TQPoint target; + TQPoint target; bool gameEnded; }; -- cgit v1.2.1