summaryrefslogtreecommitdiffstats
path: root/doc/html/tictac-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tictac-example.html')
-rw-r--r--doc/html/tictac-example.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html
index 2975a1bb8..f9d37c782 100644
--- a/doc/html/tictac-example.html
+++ b/doc/html/tictac-example.html
@@ -169,7 +169,7 @@ private:
#include &lt;<a href="tqcombobox-h.html">tqcombobox.h</a>&gt;
#include &lt;<a href="tqcheckbox-h.html">tqcheckbox.h</a>&gt;
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
-#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
+#include &lt;<a href="tqlayout-h.html">tqlayout.h</a>&gt;
#include &lt;stdlib.h&gt; // rand() function
#include &lt;<a href="tqdatetime-h.html">tqdatetime.h</a>&gt; // seed for rand()
@@ -443,27 +443,27 @@ void <a name="f195"></a>TicTacGameBoard::computerMove()
<a name="f196"></a>TicTacToe::TicTacToe( int boardSize, TQWidget *parent, const char *name )
: <a href="tqwidget.html">TQWidget</a>( parent, name )
{
- <a href="qvboxlayout.html">TQVBoxLayout</a> * l = new <a href="qvboxlayout.html">TQVBoxLayout</a>( this, 6 );
+ <a href="tqvboxlayout.html">TQVBoxLayout</a> * l = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( this, 6 );
// Create a message label
message = new <a href="tqlabel.html">TQLabel</a>( this );
<a name="x24"></a> message-&gt;<a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::WinPanel | TQFrame::Sunken );
message-&gt;<a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter );
- l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( message );
+ l-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( message );
// Create the game board and connect the signal finished() to this
// gameOver() slot
board = new TicTacGameBoard( boardSize, this );
<a href="tqobject.html#connect">connect</a>( board, TQ_SIGNAL(finished()), TQ_SLOT(gameOver()) );
- l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( board );
+ l-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( board );
// Create a horizontal frame line
<a href="tqframe.html">TQFrame</a> *line = new <a href="tqframe.html">TQFrame</a>( this );
line-&gt;<a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::HLine | TQFrame::Sunken );
- l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( line );
+ l-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( line );
// Create the combo box for deciding who should start, and
// connect its clicked() signals to the buttonClicked() slot
@@ -471,7 +471,7 @@ void <a name="f195"></a>TicTacGameBoard::computerMove()
whoStarts = new <a href="tqcombobox.html">TQComboBox</a>( this );
<a name="x23"></a> whoStarts-&gt;<a href="tqcombobox.html#insertItem">insertItem</a>( "Computer starts" );
whoStarts-&gt;<a href="tqcombobox.html#insertItem">insertItem</a>( "Human starts" );
- l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( whoStarts );
+ l-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( whoStarts );
// Create the push buttons and connect their clicked() signals
// to this right slots.
@@ -480,10 +480,10 @@ void <a name="f195"></a>TicTacGameBoard::computerMove()
<a href="tqobject.html#connect">connect</a>( newGame, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), TQ_SLOT(newGameClicked()) );
quit = new <a href="tqpushbutton.html">TQPushButton</a>( "Quit", this );
<a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.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>( quit );
+ <a href="tqhboxlayout.html">TQHBoxLayout</a> * b = new <a href="tqhboxlayout.html">TQHBoxLayout</a>;
+<a name="x19"></a> l-&gt;<a href="tqboxlayout.html#addLayout">addLayout</a>( b );
+ b-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( newGame );
+ b-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( quit );
newState();
}