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.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html
index b0d29e2e..a64c4376 100644
--- a/doc/html/showimg-example.html
+++ b/doc/html/showimg-example.html
@@ -66,7 +66,7 @@ public:
~ImageViewer();
bool loadImage( const <a href="tqstring.html">TQString</a>&amp; );
protected:
- void paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> * );
+ void paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> * );
void resizeEvent( <a href="qresizeevent.html">TQResizeEvent</a> * );
void mousePressEvent( <a href="qmouseevent.html">TQMouseEvent</a> * );
void mouseReleaseEvent( <a href="qmouseevent.html">TQMouseEvent</a> * );
@@ -152,7 +152,7 @@ private slots:
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
-#include &lt;<a href="qpainter-h.html">ntqpainter.h</a>&gt;
+#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="tqclipboard-h.html">tqclipboard.h</a>&gt;
@@ -254,7 +254,7 @@ private slots:
ImageViewer::~ImageViewer()
{
if ( alloc_context )
-<a name="x1313"></a> TQColor::<a href="ntqcolor.html#destroyAllocContext">destroyAllocContext</a>( alloc_context );
+<a name="x1313"></a> TQColor::<a href="tqcolor.html#destroyAllocContext">destroyAllocContext</a>( alloc_context );
if ( other == this )
other = 0;
}
@@ -521,14 +521,14 @@ bool <a name="f414"></a>ImageViewer::reconvertImage()
if ( image.isNull() ) return FALSE;
if ( alloc_context ) {
- TQColor::<a href="ntqcolor.html#destroyAllocContext">destroyAllocContext</a>( alloc_context );
+ TQColor::<a href="tqcolor.html#destroyAllocContext">destroyAllocContext</a>( alloc_context );
alloc_context = 0;
}
if ( useColorContext() ) {
-<a name="x1314"></a> alloc_context = TQColor::<a href="ntqcolor.html#enterAllocContext">enterAllocContext</a>();
+<a name="x1314"></a> alloc_context = TQColor::<a href="tqcolor.html#enterAllocContext">enterAllocContext</a>();
// Clear the image to hide flickering palette
- <a href="ntqpainter.html">TQPainter</a> painter(this);
-<a name="x1338"></a> painter.<a href="ntqpainter.html#eraseRect">eraseRect</a>(0, menubar-&gt;<a href="tqmenubar.html#heightForWidth">heightForWidth</a>( <a href="tqwidget.html#width">width</a>() ), width(), height());
+ <a href="tqpainter.html">TQPainter</a> painter(this);
+<a name="x1338"></a> painter.<a href="tqpainter.html#eraseRect">eraseRect</a>(0, menubar-&gt;<a href="tqmenubar.html#heightForWidth">heightForWidth</a>( <a href="tqwidget.html#width">width</a>() ), width(), height());
}
TQApplication::<a href="ntqapplication.html#setOverrideCursor">setOverrideCursor</a>( waitCursor ); // this might take time
@@ -546,7 +546,7 @@ bool <a name="f414"></a>ImageViewer::reconvertImage()
TQApplication::<a href="ntqapplication.html#restoreOverrideCursor">restoreOverrideCursor</a>(); // restore original cursor
if ( useColorContext() )
-<a name="x1315"></a> TQColor::<a href="ntqcolor.html#leaveAllocContext">leaveAllocContext</a>();
+<a name="x1315"></a> TQColor::<a href="tqcolor.html#leaveAllocContext">leaveAllocContext</a>();
return success; // TRUE if loaded OK
}
@@ -661,12 +661,12 @@ void ImageViewer::<a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a
an error message if no legal pixmap has been loaded.
*/
-void ImageViewer::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> *e )
+void ImageViewer::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a> *e )
{
if ( pm.size() != TQSize( 0, 0 ) ) { // is an image loaded?
- <a href="ntqpainter.html">TQPainter</a> painter(this);
-<a name="x1340"></a><a name="x1339"></a> painter.<a href="ntqpainter.html#setClipRect">setClipRect</a>(e-&gt;<a href="qpaintevent.html#rect">rect</a>());
-<a name="x1337"></a> painter.<a href="ntqpainter.html#drawPixmap">drawPixmap</a>(0, menubar-&gt;<a href="tqmenubar.html#heightForWidth">heightForWidth</a>( <a href="tqwidget.html#width">width</a>() ), pmScaled);
+ <a href="tqpainter.html">TQPainter</a> painter(this);
+<a name="x1340"></a><a name="x1339"></a> painter.<a href="tqpainter.html#setClipRect">setClipRect</a>(e-&gt;<a href="tqpaintevent.html#rect">rect</a>());
+<a name="x1337"></a> painter.<a href="tqpainter.html#drawPixmap">drawPixmap</a>(0, menubar-&gt;<a href="tqmenubar.html#heightForWidth">heightForWidth</a>( <a href="tqwidget.html#width">width</a>() ), pmScaled);
}
}