diff options
Diffstat (limited to 'doc/html/t13-gamebrd-cpp.html')
-rw-r--r-- | doc/html/t13-gamebrd-cpp.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/t13-gamebrd-cpp.html b/doc/html/t13-gamebrd-cpp.html index fa88bd8ce..399ee20ed 100644 --- a/doc/html/t13-gamebrd-cpp.html +++ b/doc/html/t13-gamebrd-cpp.html @@ -56,7 +56,7 @@ body { background: #ffffff; color: black; } <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this, "quit" ); quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); LCDRange *angle = new LCDRange( "ANGLE", this, "angle" ); angle->setRange( 5, 70 ); @@ -66,33 +66,33 @@ body { background: #ffffff; color: black; } cannonField = new CannonField( this, "cannonField" ); - <a href="ntqobject.html#connect">connect</a>( angle, TQ_SIGNAL(valueChanged(int)), + <a href="tqobject.html#connect">connect</a>( angle, TQ_SIGNAL(valueChanged(int)), cannonField, TQ_SLOT(setAngle(int)) ); - <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(angleChanged(int)), + <a href="tqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(angleChanged(int)), angle, TQ_SLOT(setValue(int)) ); - <a href="ntqobject.html#connect">connect</a>( force, TQ_SIGNAL(valueChanged(int)), + <a href="tqobject.html#connect">connect</a>( force, TQ_SIGNAL(valueChanged(int)), cannonField, TQ_SLOT(setForce(int)) ); - <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(forceChanged(int)), + <a href="tqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(forceChanged(int)), force, TQ_SLOT(setValue(int)) ); - <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(hit()), + <a href="tqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(hit()), this, TQ_SLOT(hit()) ); - <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(missed()), + <a href="tqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(missed()), this, TQ_SLOT(missed()) ); <a href="ntqpushbutton.html">TQPushButton</a> *shoot = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Shoot", this, "shoot" ); shoot-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( shoot, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(fire()) ); - <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(canShoot(bool)), + <a href="tqobject.html#connect">connect</a>( shoot, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(fire()) ); + <a href="tqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(canShoot(bool)), shoot, TQ_SLOT(<a href="ntqwidget.html#setEnabled">setEnabled</a>(bool)) ); TQPushButton *restart = new <a href="ntqpushbutton.html">TQPushButton</a>( "&New Game", this, "newgame" ); restart->setFont( TQFont( "Times", 18, TQFont::Bold ) ); - <a href="ntqobject.html#connect">connect</a>( restart, TQ_SIGNAL(clicked()), this, TQ_SLOT(newGame()) ); + <a href="tqobject.html#connect">connect</a>( restart, TQ_SIGNAL(clicked()), this, TQ_SLOT(newGame()) ); hits = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, this, "hits" ); shotsLeft = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, this, "shotsleft" ); |