diff options
Diffstat (limited to 'doc/html/tictac-example.html')
-rw-r--r-- | doc/html/tictac-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index cdb2a1126..f3ac95b51 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -78,7 +78,7 @@ public: <a href="tqsize.html">TQSize</a> sizeHint() const { return TQSize( 32, 32 ); } <a href="tqsize.html">TQSize</a> minimumSizeHint() const { return TQSize( 10, 10 ); } protected: - void drawButtonLabel( <a href="ntqpainter.html">TQPainter</a> * ); + void drawButtonLabel( <a href="tqpainter.html">TQPainter</a> * ); private: Type t; }; @@ -164,7 +164,7 @@ private: #include "tictac.h" #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qpainter-h.html">ntqpainter.h</a>> +#include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <<a href="qdrawutil-h.html">ntqdrawutil.h</a>> #include <<a href="qcombobox-h.html">ntqcombobox.h</a>> #include <<a href="qcheckbox-h.html">ntqcheckbox.h</a>> @@ -191,15 +191,15 @@ private: // Paints TicTacButton // -<a name="x31"></a>void TicTacButton::<a href="ntqbutton.html#drawButtonLabel">drawButtonLabel</a>( <a href="ntqpainter.html">TQPainter</a> *p ) +<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>(); - p-><a href="ntqpainter.html#setPen">setPen</a>( TQPen( white,2 ) ); // set fat pen + 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="ntqpainter.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="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 ); } else if ( t == Cross ) { // draw cross -<a name="x37"></a><a name="x33"></a> p-><a href="ntqpainter.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="ntqpainter.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="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)); } } |