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.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html
index 5cc4714a2..a9945bffd 100644
--- a/doc/html/tictac-example.html
+++ b/doc/html/tictac-example.html
@@ -162,7 +162,7 @@ private:
*****************************************************************************/
#include "tictac.h"
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="tqdrawutil-h.html">tqdrawutil.h</a>&gt;
#include &lt;<a href="tqcombobox-h.html">tqcombobox.h</a>&gt;
@@ -478,7 +478,7 @@ void <a name="f195"></a>TicTacGameBoard::computerMove()
newGame = new <a href="tqpushbutton.html">TQPushButton</a>( "Play!", this );
<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="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) );
<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 );
@@ -541,26 +541,26 @@ void <a name="f199"></a>TicTacToe::newState()
**
*****************************************************************************/
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include &lt;stdlib.h&gt;
#include "tictac.h"
int main( int argc, char **argv )
{
- <a href="ntqapplication.html">TQApplication</a> a( argc, argv );
+ <a href="tqapplication.html">TQApplication</a> a( argc, argv );
int n = 3;
if ( argc == 2 ) // get board size n
n = atoi(argv[1]);
if ( n &lt; 3 || n &gt; 10 ) { // out of range
- <a href="ntqapplication.html#qWarning">tqWarning</a>( "%s: Board size must be from 3x3 to 10x10", argv[0] );
+ <a href="tqapplication.html#qWarning">tqWarning</a>( "%s: Board size must be from 3x3 to 10x10", argv[0] );
return 1;
}
TicTacToe ttt( n ); // create game
- a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;ttt );
+ a.<a href="tqapplication.html#setMainWidget">setMainWidget</a>( &amp;ttt );
ttt.<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - TicTac");
ttt.<a href="tqwidget.html#show">show</a>(); // show widget
- return a.<a href="ntqapplication.html#exec">exec</a>(); // go
+ return a.<a href="tqapplication.html#exec">exec</a>(); // go
}
</pre>