diff options
Diffstat (limited to 'doc/html/desktop-example.html')
-rw-r--r-- | doc/html/desktop-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/desktop-example.html b/doc/html/desktop-example.html index 4f1d37b0d..9f839629b 100644 --- a/doc/html/desktop-example.html +++ b/doc/html/desktop-example.html @@ -49,7 +49,7 @@ any other. ** *****************************************************************************/ -#include <<a href="qimage-h.html">ntqimage.h</a>> +#include <<a href="tqimage-h.html">tqimage.h</a>> #include <<a href="qbitmap-h.html">ntqbitmap.h</a>> #include <<a href="qpainter-h.html">ntqpainter.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> @@ -161,11 +161,11 @@ void rotate() int i; const int w = 64; const int h = 64; - <a href="ntqimage.html">TQImage</a> image( w, h, 8, 128 ); // create image + <a href="tqimage.html">TQImage</a> image( w, h, 8, 128 ); // create image for ( i=0; i<128; i++ ) // build color table -<a name="x1730"></a> image.<a href="ntqimage.html#setColor">setColor</a>( i, tqRgb(i,0,0) ); +<a name="x1730"></a> image.<a href="tqimage.html#setColor">setColor</a>( i, tqRgb(i,0,0) ); for ( int y=0; y<h; y++ ) { // set image pixels -<a name="x1729"></a> uchar *p = image.<a href="ntqimage.html#scanLine">scanLine</a>(y); +<a name="x1729"></a> uchar *p = image.<a href="tqimage.html#scanLine">scanLine</a>(y); for ( int x=0; x<w; x++ ) *p++ = (x+y)%128; } @@ -236,7 +236,7 @@ public: void dragEnterEvent( <a href="qdragenterevent.html">TQDragEnterEvent</a> *e ) { -<a name="x1731"></a> if ( TQImageDrag::<a href="qimagedrag.html#canDecode">canDecode</a>(e) ) +<a name="x1731"></a> if ( TQImageDrag::<a href="tqimagedrag.html#canDecode">canDecode</a>(e) ) <a name="x1727"></a> e-><a href="qdragmoveevent.html#accept">accept</a>(); } @@ -252,7 +252,7 @@ public: void dropEvent( <a href="qdropevent.html">TQDropEvent</a> * e ) { <a href="ntqpixmap.html">TQPixmap</a> pmp; -<a name="x1732"></a> if ( TQImageDrag::<a href="qimagedrag.html#decode">decode</a>( e, pmp ) ) { +<a name="x1732"></a> if ( TQImageDrag::<a href="tqimagedrag.html#decode">decode</a>( e, pmp ) ) { <a href="tqwidget.html#setBackgroundPixmap">setBackgroundPixmap</a>( pmp ); <a href="tqwidget.html#update">update</a>(); } @@ -296,7 +296,7 @@ void DesktopWidget::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href=" p.<a href="ntqpainter.html#begin">begin</a>( &offscreen ); <a name="x1758"></a><a name="x1757"></a> drawShadeText( &p, -br.<a href="ntqrect.html#x">x</a>(), -br.<a href="ntqrect.html#y">y</a>(), text, c2, c3, 3 ); p.<a href="ntqpainter.html#end">end</a>(); - <a href="ntqimage.html#bitBlt">bitBlt</a>( this, x, y, &offscreen ); + <a href="tqimage.html#bitBlt">bitBlt</a>( this, x, y, &offscreen ); } void desktopWidget( const char *s = "Trolltech" ) |