diff options
Diffstat (limited to 'doc/html/tictac-example.html')
-rw-r--r-- | doc/html/tictac-example.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index f3ac95b51..136d099bd 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -193,13 +193,13 @@ private: <a name="x31"></a>void TicTacButton::<a href="ntqbutton.html#drawButtonLabel">drawButtonLabel</a>( <a href="tqpainter.html">TQPainter</a> *p ) { - <a href="ntqrect.html">TQRect</a> r = <a href="tqwidget.html#rect">rect</a>(); + <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 if ( t == Circle ) { -<a name="x36"></a><a name="x35"></a><a name="x28"></a> p-><a href="tqpainter.html#drawEllipse">drawEllipse</a>( r.<a href="ntqrect.html#left">left</a>()+4, r.<a href="ntqrect.html#top">top</a>()+4, r.<a href="ntqrect.html#width">width</a>()-8, r.<a href="ntqrect.html#height">height</a>()-8 ); +<a name="x36"></a><a name="x35"></a><a name="x28"></a> p-><a href="tqpainter.html#drawEllipse">drawEllipse</a>( r.<a href="tqrect.html#left">left</a>()+4, r.<a href="tqrect.html#top">top</a>()+4, r.<a href="tqrect.html#width">width</a>()-8, r.<a href="tqrect.html#height">height</a>()-8 ); } else if ( t == Cross ) { // draw cross -<a name="x37"></a><a name="x33"></a> p-><a href="tqpainter.html#drawLine">drawLine</a>( r.<a href="ntqrect.html#topLeft">topLeft</a>() +TQPoint(4,4), r.<a href="ntqrect.html#bottomRight">bottomRight</a>()-TQPoint(4,4)); -<a name="x38"></a><a name="x32"></a> p-><a href="tqpainter.html#drawLine">drawLine</a>( r.<a href="ntqrect.html#bottomLeft">bottomLeft</a>()+TQPoint(4,-4),r.<a href="ntqrect.html#topRight">topRight</a>() -TQPoint(4,-4)); +<a name="x37"></a><a name="x33"></a> p-><a href="tqpainter.html#drawLine">drawLine</a>( r.<a href="tqrect.html#topLeft">topLeft</a>() +TQPoint(4,4), r.<a href="tqrect.html#bottomRight">bottomRight</a>()-TQPoint(4,4)); +<a name="x38"></a><a name="x32"></a> p-><a href="tqpainter.html#drawLine">drawLine</a>( r.<a href="tqrect.html#bottomLeft">bottomLeft</a>()+TQPoint(4,-4),r.<a href="tqrect.html#topRight">topRight</a>() -TQPoint(4,-4)); } } @@ -223,7 +223,7 @@ private: 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="ntqpalette.html">TQPalette</a> p( blue ); + <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 ); |