diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /doc/html/tictac-example.html | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
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(); } |