diff options
Diffstat (limited to 'doc/html/tictac-example.html')
-rw-r--r-- | doc/html/tictac-example.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index fae1bdba3..2975a1bb8 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -191,7 +191,7 @@ private: // Paints TicTacButton // -<a name="x31"></a>void TicTacButton::<a href="ntqbutton.html#drawButtonLabel">drawButtonLabel</a>( <a href="tqpainter.html">TQPainter</a> *p ) +<a name="x31"></a>void TicTacButton::<a href="tqbutton.html#drawButtonLabel">drawButtonLabel</a>( <a href="tqpainter.html">TQPainter</a> *p ) { <a href="tqrect.html">TQRect</a> r = <a href="tqwidget.html#rect">rect</a>(); p-><a href="tqpainter.html#setPen">setPen</a>( TQPen( white,2 ) ); // set fat pen @@ -222,14 +222,14 @@ private: comp_starts = FALSE; // human starts buttons = new TicTacButtons(n); // create real buttons btArray = new TicTacArray(n); // create button model - <a href="qgridlayout.html">TQGridLayout</a> * grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, nBoard, nBoard, 4 ); + <a href="tqgridlayout.html">TQGridLayout</a> * grid = new <a href="tqgridlayout.html">TQGridLayout</a>( this, nBoard, nBoard, 4 ); <a href="tqpalette.html">TQPalette</a> p( blue ); for ( int i=0; i<n; i++ ) { // create and connect buttons TicTacButton *ttb = new TicTacButton( this ); <a name="x45"></a> ttb-><a href="tqwidget.html#setPalette">setPalette</a>( p ); ttb-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); - <a href="tqobject.html#connect">connect</a>( ttb, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(buttonClicked()) ); - grid-><a href="qgridlayout.html#addWidget">addWidget</a>( ttb, i%nBoard, i/nBoard ); + <a href="tqobject.html#connect">connect</a>( ttb, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), TQ_SLOT(buttonClicked()) ); + grid-><a href="tqgridlayout.html#addWidget">addWidget</a>( ttb, i%nBoard, i/nBoard ); buttons->insert( i, ttb ); btArray->at(i) = TicTacButton::Blank; // initial button type } @@ -448,7 +448,7 @@ void <a name="f195"></a>TicTacGameBoard::computerMove() // Create a message label message = new <a href="tqlabel.html">TQLabel</a>( this ); -<a name="x24"></a> message-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::WinPanel | TQFrame::Sunken ); +<a name="x24"></a> message-><a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::WinPanel | TQFrame::Sunken ); message-><a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); l-><a href="qboxlayout.html#addWidget">addWidget</a>( message ); @@ -461,8 +461,8 @@ void <a name="f195"></a>TicTacGameBoard::computerMove() // Create a horizontal frame line - <a href="ntqframe.html">TQFrame</a> *line = new <a href="ntqframe.html">TQFrame</a>( this ); - line-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::HLine | TQFrame::Sunken ); + <a href="tqframe.html">TQFrame</a> *line = new <a href="tqframe.html">TQFrame</a>( this ); + line-><a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::HLine | TQFrame::Sunken ); l-><a href="qboxlayout.html#addWidget">addWidget</a>( line ); // Create the combo box for deciding who should start, and @@ -477,9 +477,9 @@ void <a name="f195"></a>TicTacGameBoard::computerMove() // to this right slots. newGame = new <a href="tqpushbutton.html">TQPushButton</a>( "Play!", this ); - <a href="tqobject.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="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="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="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-><a href="qboxlayout.html#addLayout">addLayout</a>( b ); b-><a href="qboxlayout.html#addWidget">addWidget</a>( newGame ); |