diff options
Diffstat (limited to 'doc/html/scribble-example.html')
-rw-r--r-- | doc/html/scribble-example.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/scribble-example.html b/doc/html/scribble-example.html index 753a87546..0d39f4c04 100644 --- a/doc/html/scribble-example.html +++ b/doc/html/scribble-example.html @@ -153,7 +153,7 @@ protected slots: #include <<a href="qcolordialog-h.html">ntqcolordialog.h</a>> #include <<a href="qfiledialog-h.html">ntqfiledialog.h</a>> #include <<a href="qcursor-h.html">ntqcursor.h</a>> -#include <<a href="qimage-h.html">ntqimage.h</a>> +#include <<a href="tqimage-h.html">tqimage.h</a>> #include <<a href="qstrlist-h.html">ntqstrlist.h</a>> #include <<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>> #include <<a href="qintdict-h.html">ntqintdict.h</a>> @@ -215,7 +215,7 @@ void <a name="f340"></a>Canvas::clearScreen() <a name="x932"></a><a name="x929"></a> r.<a href="ntqrect.html#setRight">setRight</a>( r.<a href="ntqrect.html#right">right</a>() + penWidth() ); <a name="x930"></a><a name="x925"></a> r.<a href="ntqrect.html#setBottom">setBottom</a>( r.<a href="ntqrect.html#bottom">bottom</a>() + penWidth() ); -<a name="x937"></a><a name="x936"></a><a name="x926"></a> <a href="ntqimage.html#bitBlt">bitBlt</a>( this, r.<a href="ntqrect.html#x">x</a>(), r.<a href="ntqrect.html#y">y</a>(), &buffer, r.<a href="ntqrect.html#x">x</a>(), r.<a href="ntqrect.html#y">y</a>(), r.<a href="ntqrect.html#width">width</a>(), r.<a href="ntqrect.html#height">height</a>() ); +<a name="x937"></a><a name="x936"></a><a name="x926"></a> <a href="tqimage.html#bitBlt">bitBlt</a>( this, r.<a href="ntqrect.html#x">x</a>(), r.<a href="ntqrect.html#y">y</a>(), &buffer, r.<a href="ntqrect.html#x">x</a>(), r.<a href="ntqrect.html#y">y</a>(), r.<a href="ntqrect.html#width">width</a>(), r.<a href="ntqrect.html#height">height</a>() ); } } @@ -231,7 +231,7 @@ void <a name="f340"></a>Canvas::clearScreen() <a href="ntqpixmap.html">TQPixmap</a> tmp( buffer ); buffer.resize( w, h ); buffer.fill( <a href="tqwidget.html#colorGroup">colorGroup</a>().base() ); -<a name="x922"></a><a name="x921"></a> <a href="ntqimage.html#bitBlt">bitBlt</a>( &buffer, 0, 0, &tmp, 0, 0, tmp.<a href="ntqpixmap.html#width">width</a>(), tmp.<a href="ntqpixmap.html#height">height</a>() ); +<a name="x922"></a><a name="x921"></a> <a href="tqimage.html#bitBlt">bitBlt</a>( &buffer, 0, 0, &tmp, 0, 0, tmp.<a href="ntqpixmap.html#width">width</a>(), tmp.<a href="ntqpixmap.html#height">height</a>() ); } <a name="x951"></a>void Canvas::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> *e ) @@ -241,7 +241,7 @@ void <a name="f340"></a>Canvas::clearScreen() <a name="x920"></a> <a href="ntqmemarray.html">TQMemArray</a><TQRect> rects = e-><a href="qpaintevent.html#region">region</a>().rects(); <a name="x913"></a> for ( uint i = 0; i < rects.<a href="ntqmemarray.html#count">count</a>(); i++ ) { <a href="ntqrect.html">TQRect</a> r = rects[(int)i]; - <a href="ntqimage.html#bitBlt">bitBlt</a>( this, r.<a href="ntqrect.html#x">x</a>(), r.<a href="ntqrect.html#y">y</a>(), &buffer, r.<a href="ntqrect.html#x">x</a>(), r.<a href="ntqrect.html#y">y</a>(), r.<a href="ntqrect.html#width">width</a>(), r.<a href="ntqrect.html#height">height</a>() ); + <a href="tqimage.html#bitBlt">bitBlt</a>( this, r.<a href="ntqrect.html#x">x</a>(), r.<a href="ntqrect.html#y">y</a>(), &buffer, r.<a href="ntqrect.html#x">x</a>(), r.<a href="ntqrect.html#y">y</a>(), r.<a href="ntqrect.html#width">width</a>(), r.<a href="ntqrect.html#height">height</a>() ); } } @@ -282,8 +282,8 @@ void <a name="f342"></a>Scribble::slotSave() <a href="ntqintdict.html">TQIntDict</a><TQString> formats; <a name="x924"></a> formats.<a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>( TRUE ); - for ( unsigned int i = 0; i < TQImageIO::<a href="qimageio.html#outputFormats">outputFormats</a>().count(); i++ ) { -<a name="x911"></a> <a href="ntqstring.html">TQString</a> str = TQString( TQImageIO::<a href="qimageio.html#outputFormats">outputFormats</a>().at( i ) ); + for ( unsigned int i = 0; i < TQImageIO::<a href="tqimageio.html#outputFormats">outputFormats</a>().count(); i++ ) { +<a name="x911"></a> <a href="ntqstring.html">TQString</a> str = TQString( TQImageIO::<a href="tqimageio.html#outputFormats">outputFormats</a>().at( i ) ); <a name="x912"></a> formats.<a href="ntqintdict.html#insert">insert</a>( menu-><a href="ntqmenudata.html#insertItem">insertItem</a>( TQString( "%1..." ).arg( str ) ), new <a href="ntqstring.html">TQString</a>( str ) ); } |