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.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html
index a64c4376f..167907a36 100644
--- a/doc/html/showimg-example.html
+++ b/doc/html/showimg-example.html
@@ -81,8 +81,8 @@ private:
bool convertEvent( <a href="qmouseevent.html">TQMouseEvent</a>* e, int&amp; x, int&amp; y );
<a href="tqstring.html">TQString</a> filename;
<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
+ <a href="tqpixmap.html">TQPixmap</a> pm; // the converted pixmap
+ <a href="tqpixmap.html">TQPixmap</a> pmScaled; // the scaled pixmap
<a href="tqmenubar.html">TQMenuBar</a> *menubar;
<a href="tqpopupmenu.html">TQPopupMenu</a> *file;
@@ -330,10 +330,10 @@ void <a name="f407"></a>ImageViewer::setMenuItemFlags()
// Options
bool may_need_color_dithering =
!valid_image
- || image.depth() == 32 &amp;&amp; TQPixmap::<a href="ntqpixmap.html#defaultDepth">defaultDepth</a>() &lt; 24;
+ || image.depth() == 32 &amp;&amp; TQPixmap::<a href="tqpixmap.html#defaultDepth">defaultDepth</a>() &lt; 24;
bool may_need_dithering = may_need_color_dithering
|| image.depth() &gt; 1 &amp;&amp; options-&gt;<a href="tqmenudata.html#isItemChecked">isItemChecked</a>(mo)
- || image.depth() &gt; 1 &amp;&amp; TQPixmap::<a href="ntqpixmap.html#defaultDepth">defaultDepth</a>() == 1;
+ || image.depth() &gt; 1 &amp;&amp; TQPixmap::<a href="tqpixmap.html#defaultDepth">defaultDepth</a>() == 1;
bool has_alpha_mask = !valid_image || image.hasAlphaBuffer();
options-&gt;<a href="tqmenudata.html#setItemEnabled">setItemEnabled</a>( fd, may_need_dithering );
@@ -581,8 +581,8 @@ void <a name="f417"></a>ImageViewer::scale()
pmScaled.convertFromImage(image.smoothScale(<a href="tqwidget.html#width">width</a>(), h),
conversion_flags);
} else {
- <a href="ntqwmatrix.html">TQWMatrix</a> m; // <a href="ntqwmatrix.html#TransformationMode">transformation matrix</a>
-<a name="x1357"></a> m.<a href="ntqwmatrix.html#scale">scale</a>(((double)<a href="tqwidget.html#width">width</a>())/pm.width(),// define scale factors
+ <a href="tqwmatrix.html">TQWMatrix</a> m; // <a href="tqwmatrix.html#TransformationMode">transformation matrix</a>
+<a name="x1357"></a> m.<a href="tqwmatrix.html#scale">scale</a>(((double)<a href="tqwidget.html#width">width</a>())/pm.width(),// define scale factors
((double)h)/pm.height());
pmScaled = pm.xForm( m ); // create scaled pixmap
}