diff options
Diffstat (limited to 'doc/html/aclock-example.html')
-rw-r--r-- | doc/html/aclock-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/aclock-example.html b/doc/html/aclock-example.html index e0f5d3839..0053b8a86 100644 --- a/doc/html/aclock-example.html +++ b/doc/html/aclock-example.html @@ -74,7 +74,7 @@ public slots: void setTime( const <a href="tqtime.html">TQTime</a> & t ); private: - <a href="ntqpoint.html">TQPoint</a> clickPos; + <a href="tqpoint.html">TQPoint</a> clickPos; <a href="tqtime.html">TQTime</a> time; <a href="tqtimer.html">TQTimer</a> *internalTimer; }; @@ -173,7 +173,7 @@ void AnalogClock::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="tq void AnalogClock::updateMask() // paint clock mask { <a href="tqbitmap.html">TQBitmap</a> bm( <a href="tqwidget.html#size">size</a>() ); - bm.<a href="ntqpixmap.html#fill">fill</a>( color0 ); //transparent + bm.<a href="tqpixmap.html#fill">fill</a>( color0 ); //transparent <a href="tqpainter.html">TQPainter</a> paint; <a name="x1183"></a> paint.<a href="tqpainter.html#begin">begin</a>( &bm, this ); @@ -197,12 +197,12 @@ void <a name="f387"></a>AnalogClock::drawClock( <a href="tqpainter.html">TQPaint <a name="x1193"></a> paint-><a href="tqpainter.html#setWindow">setWindow</a>( -500,-500, 1000,1000 ); -<a name="x1194"></a> <a href="ntqrect.html">TQRect</a> v = paint-><a href="tqpainter.html#viewport">viewport</a>(); - int d = TQMIN( v.<a href="ntqrect.html#width">width</a>(), v.<a href="ntqrect.html#height">height</a>() ); -<a name="x1198"></a><a name="x1192"></a> paint-><a href="tqpainter.html#setViewport">setViewport</a>( v.<a href="ntqrect.html#left">left</a>() + (v.<a href="ntqrect.html#width">width</a>()-d)/2, -<a name="x1199"></a> v.<a href="ntqrect.html#top">top</a>() + (v.<a href="ntqrect.html#height">height</a>()-d)/2, d, d ); +<a name="x1194"></a> <a href="tqrect.html">TQRect</a> v = paint-><a href="tqpainter.html#viewport">viewport</a>(); + int d = TQMIN( v.<a href="tqrect.html#width">width</a>(), v.<a href="tqrect.html#height">height</a>() ); +<a name="x1198"></a><a name="x1192"></a> paint-><a href="tqpainter.html#setViewport">setViewport</a>( v.<a href="tqrect.html#left">left</a>() + (v.<a href="tqrect.html#width">width</a>()-d)/2, +<a name="x1199"></a> v.<a href="tqrect.html#top">top</a>() + (v.<a href="tqrect.html#height">height</a>()-d)/2, d, d ); - <a href="ntqpointarray.html">TQPointArray</a> pts; + <a href="tqpointarray.html">TQPointArray</a> pts; paint-><a href="tqpainter.html#save">save</a>(); <a name="x1188"></a> paint-><a href="tqpainter.html#rotate">rotate</a>( 30*(time.hour()%12-3) + time.minute()/2 ); |