summaryrefslogtreecommitdiffstats
path: root/doc/html/desktop-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/desktop-example.html')
-rw-r--r--doc/html/desktop-example.html14
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 &lt;<a href="qimage-h.html">ntqimage.h</a>&gt;
+#include &lt;<a href="tqimage-h.html">tqimage.h</a>&gt;
#include &lt;<a href="qbitmap-h.html">ntqbitmap.h</a>&gt;
#include &lt;<a href="qpainter-h.html">ntqpainter.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
@@ -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&lt;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&lt;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&lt;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-&gt;<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>( &amp;offscreen );
<a name="x1758"></a><a name="x1757"></a> drawShadeText( &amp;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, &amp;offscreen );
+ <a href="tqimage.html#bitBlt">bitBlt</a>( this, x, y, &amp;offscreen );
}
void desktopWidget( const char *s = "Trolltech" )