diff options
Diffstat (limited to 'doc/html/tictac-example.html')
-rw-r--r-- | doc/html/tictac-example.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index 32dde137c..c1631b5b3 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -126,7 +126,7 @@ private: // -------------------------------------------------------------------------- // TicTacToe implements the complete game. // TicTacToe is a composite widget that contains a TicTacGameBoard and -// two push buttons for starting the game and tquitting. +// two push buttons for starting the game and quitting. // class TicTacToe : public <a href="qwidget.html">TQWidget</a> @@ -141,7 +141,7 @@ private: void newState(); <a href="qcombobox.html">TQComboBox</a> *whoStarts; <a href="qpushbutton.html">TQPushButton</a> *newGame; - <a href="qpushbutton.html">TQPushButton</a> *tquit; + <a href="qpushbutton.html">TQPushButton</a> *quit; <a href="qlabel.html">TQLabel</a> *message; TicTacGameBoard *board; }; @@ -478,12 +478,12 @@ void <a name="f195"></a>TicTacGameBoard::computerMove() newGame = new <a href="qpushbutton.html">TQPushButton</a>( "Play!", this ); <a href="qobject.html#connect">connect</a>( newGame, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), SLOT(newGameClicked()) ); - tquit = new <a href="qpushbutton.html">TQPushButton</a>( "Quit", this ); - <a href="qobject.html#connect">connect</a>( tquit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="qapplication.html#tquit">tquit</a>()) ); + quit = new <a href="qpushbutton.html">TQPushButton</a>( "Quit", this ); + <a href="qobject.html#connect">connect</a>( quit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="qapplication.html#quit">quit</a>()) ); <a href="qhboxlayout.html">TQHBoxLayout</a> * b = new <a href="qhboxlayout.html">TQHBoxLayout</a>; <a name="x19"></a> l-><a href="qboxlayout.html#addLayout">addLayout</a>( b ); b-><a href="qboxlayout.html#addWidget">addWidget</a>( newGame ); - b-><a href="qboxlayout.html#addWidget">addWidget</a>( tquit ); + b-><a href="qboxlayout.html#addWidget">addWidget</a>( quit ); newState(); } |