summaryrefslogtreecommitdiffstats
path: root/doc/html/tictac-example.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /doc/html/tictac-example.html
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-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.html10
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-&gt;<a href="qboxlayout.html#addLayout">addLayout</a>( b );
b-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( newGame );
- b-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( tquit );
+ b-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( quit );
newState();
}