summaryrefslogtreecommitdiffstats
path: root/doc/html/showimg-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/showimg-example.html')
-rw-r--r--doc/html/showimg-example.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html
index 561715f38..5d5884269 100644
--- a/doc/html/showimg-example.html
+++ b/doc/html/showimg-example.html
@@ -51,7 +51,7 @@ format (GIF, BMP, PPM, XMP, etc.).
#define SHOWIMG_H
#include &lt;<a href="tqwidget-h.html">tqwidget.h</a>&gt;
-#include &lt;<a href="qimage-h.html">ntqimage.h</a>&gt;
+#include &lt;<a href="tqimage-h.html">tqimage.h</a>&gt;
class TQLabel;
@@ -80,7 +80,7 @@ private:
int alloc_context;
bool convertEvent( <a href="qmouseevent.html">TQMouseEvent</a>* e, int&amp; x, int&amp; y );
<a href="ntqstring.html">TQString</a> filename;
- <a href="ntqimage.html">TQImage</a> image; // the loaded image
+ <a href="tqimage.html">TQImage</a> image; // the loaded image
<a href="ntqpixmap.html">TQPixmap</a> pm; // the converted pixmap
<a href="ntqpixmap.html">TQPixmap</a> pmScaled; // the scaled pixmap
@@ -103,7 +103,7 @@ private:
int clickx, clicky;
bool may_be_other;
static ImageViewer* other;
- void setImage(const <a href="ntqimage.html">TQImage</a>&amp; newimage);
+ void setImage(const <a href="tqimage.html">TQImage</a>&amp; newimage);
private slots:
void to1Bit();
@@ -178,7 +178,7 @@ private slots:
menubar = new <a href="ntqmenubar.html">TQMenuBar</a>(this);
<a name="x1326"></a> menubar-&gt;<a href="ntqmenubar.html#setSeparator">setSeparator</a>( TQMenuBar::InWindowsStyle );
-<a name="x1323"></a> <a href="ntqstrlist.html">TQStrList</a> fmt = TQImage::<a href="ntqimage.html#outputFormats">outputFormats</a>();
+<a name="x1323"></a> <a href="ntqstrlist.html">TQStrList</a> fmt = TQImage::<a href="tqimage.html#outputFormats">outputFormats</a>();
saveimage = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar );
savepixmap = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar );
<a name="x1344"></a><a name="x1343"></a> for (const char* f = fmt.<a href="tqptrlist.html#first">first</a>(); f; f = fmt.<a href="tqptrlist.html#next">next</a>()) {
@@ -684,7 +684,7 @@ void <a name="f419"></a>ImageViewer::giveHelp()
"&lt;/blockquote&gt;"
"&lt;p&gt;Supported input formats:"
"&lt;blockquote&gt;";
-<a name="x1321"></a> helptext += TQImage::<a href="ntqimage.html#inputFormatList">inputFormatList</a>().join(", ");
+<a name="x1321"></a> helptext += TQImage::<a href="tqimage.html#inputFormatList">inputFormatList</a>().join(", ");
helptext += "&lt;/blockquote&gt;";
helpmsg = new <a href="ntqmessagebox.html">TQMessageBox</a>( "Help", helptext,
@@ -711,7 +711,7 @@ void <a name="f420"></a>ImageViewer::copyFrom(ImageViewer* s)
dy = picky;
sy -= sh-1;
}
- <a href="ntqimage.html#bitBlt">bitBlt</a>( &amp;image, dx, dy, &amp;s-&gt;image, sx, sy, sw, sh );
+ <a href="tqimage.html#bitBlt">bitBlt</a>( &amp;image, dx, dy, &amp;s-&gt;image, sx, sy, sw, sh );
reconvertImage();
<a href="tqwidget.html#repaint">repaint</a>( image.hasAlphaBuffer() );
}
@@ -743,15 +743,15 @@ void <a name="f424"></a>ImageViewer::copy()
void <a name="f425"></a>ImageViewer::paste()
{
#ifndef TQT_NO_MIMECLIPBOARD
- <a href="ntqimage.html">TQImage</a> p = TQApplication::<a href="ntqapplication.html#clipboard">clipboard</a>()-&gt;image();
-<a name="x1322"></a> if ( !p.<a href="ntqimage.html#isNull">isNull</a>() ) {
+ <a href="tqimage.html">TQImage</a> p = TQApplication::<a href="ntqapplication.html#clipboard">clipboard</a>()-&gt;image();
+<a name="x1322"></a> if ( !p.<a href="tqimage.html#isNull">isNull</a>() ) {
filename = "pasted";
setImage(p);
}
#endif
}
-void <a name="f426"></a>ImageViewer::setImage(const <a href="ntqimage.html">TQImage</a>&amp; newimage)
+void <a name="f426"></a>ImageViewer::setImage(const <a href="tqimage.html">TQImage</a>&amp; newimage)
{
image = newimage;
@@ -825,7 +825,7 @@ void <a name="f431"></a>ImageViewer::toBitDepth(int d)
#include "showimg.h"
#include "imagefip.h"
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
-#include &lt;<a href="qimage-h.html">ntqimage.h</a>&gt;
+#include &lt;<a href="tqimage-h.html">tqimage.h</a>&gt;
int main( int argc, char **argv )
{