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.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html
index 766da9bf3..9aa4a8448 100644
--- a/doc/html/tictac-example.html
+++ b/doc/html/tictac-example.html
@@ -228,7 +228,7 @@ private:
TicTacButton *ttb = new TicTacButton( this );
<a name="x45"></a> ttb-&gt;<a href="ntqwidget.html#setPalette">setPalette</a>( p );
ttb-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
- <a href="ntqobject.html#connect">connect</a>( ttb, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(buttonClicked()) );
+ <a href="tqobject.html#connect">connect</a>( ttb, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(buttonClicked()) );
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( ttb, i%nBoard, i/nBoard );
buttons-&gt;insert( i, ttb );
btArray-&gt;at(i) = TicTacButton::Blank; // initial button type
@@ -285,7 +285,7 @@ void <a name="f192"></a>TicTacGameBoard::buttonClicked()
{
if ( st != HumansTurn ) // not ready
return;
- int i = buttons-&gt;findRef( (TicTacButton*)<a href="ntqobject.html#sender">sender</a>() );
+ int i = buttons-&gt;findRef( (TicTacButton*)<a href="tqobject.html#sender">sender</a>() );
TicTacButton *b = buttons-&gt;at(i); // get piece that was pressed
if ( b-&gt;type() == TicTacButton::Blank ) { // empty piece?
btArray-&gt;at(i) = TicTacButton::Circle;
@@ -456,7 +456,7 @@ void <a name="f195"></a>TicTacGameBoard::computerMove()
// gameOver() slot
board = new TicTacGameBoard( boardSize, this );
- <a href="ntqobject.html#connect">connect</a>( board, TQ_SIGNAL(finished()), TQ_SLOT(gameOver()) );
+ <a href="tqobject.html#connect">connect</a>( board, TQ_SIGNAL(finished()), TQ_SLOT(gameOver()) );
l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( board );
// Create a horizontal frame line
@@ -477,9 +477,9 @@ void <a name="f195"></a>TicTacGameBoard::computerMove()
// to this right slots.
newGame = new <a href="ntqpushbutton.html">TQPushButton</a>( "Play!", this );
- <a href="ntqobject.html#connect">connect</a>( newGame, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(newGameClicked()) );
+ <a href="tqobject.html#connect">connect</a>( newGame, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(newGameClicked()) );
quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit", this );
- <a href="ntqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.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="ntqbutton.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 );