summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqpixmap.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:00:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:00:12 +0900
commit8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (patch)
tree3427fe04e3116ccbd16fa98e57abd5d118f82353 /doc/html/ntqpixmap.html
parent0881ed5059c46ce73e8241e6260b82b92f6d0e55 (diff)
downloadtqt3-8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde.tar.gz
tqt3-8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde.zip
Rename image nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqpixmap.html')
-rw-r--r--doc/html/ntqpixmap.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/ntqpixmap.html b/doc/html/ntqpixmap.html
index 85e6e1910..f7bfa60fe 100644
--- a/doc/html/ntqpixmap.html
+++ b/doc/html/ntqpixmap.html
@@ -118,7 +118,7 @@ The TQPixmap class is an off-screen, pixel-based paint device.
<p> TQPixmap is one of the two classes TQt provides for dealing with
-images; the other is <a href="ntqimage.html">TQImage</a>. TQPixmap is designed and optimized
+images; the other is <a href="tqimage.html">TQImage</a>. TQPixmap is designed and optimized
for drawing; TQImage is designed and optimized for I/O and for
direct pixel access/manipulation. There are (slow) functions to
convert between TQImage and TQPixmap: <a href="#convertToImage">convertToImage</a>() and
@@ -177,13 +177,13 @@ this:
<p> In general it is recommended to make as much use of TQPixmap's
<a href="shclass.html#implicit-sharing">implicit sharing</a> and the <a href="ntqpixmapcache.html">TQPixmapCache</a> as possible.
-<p> <p>See also <a href="ntqbitmap.html">TQBitmap</a>, <a href="ntqimage.html">TQImage</a>, <a href="qimageio.html">TQImageIO</a>, <a href="shclass.html">Shared Classes</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>.
+<p> <p>See also <a href="ntqbitmap.html">TQBitmap</a>, <a href="tqimage.html">TQImage</a>, <a href="tqimageio.html">TQImageIO</a>, <a href="shclass.html">Shared Classes</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>.
<hr><h2>Member Type Documentation</h2>
<h3 class=fn><a name="ColorMode-enum"></a>TQPixmap::ColorMode</h3>
<p> This enum type defines the color modes that exist for converting
-<a href="ntqimage.html">TQImage</a> objects to TQPixmap.
+<a href="tqimage.html">TQImage</a> objects to TQPixmap.
<ul>
<li><tt>TQPixmap::Auto</tt> - Select <a href="#ColorMode-enum">Color</a> or <a href="#ColorMode-enum">Mono</a> on a case-by-case basis.
<li><tt>TQPixmap::Color</tt> - Always create colored pixmaps.
@@ -219,9 +219,9 @@ than <a href="#Optimization-enum">NormalOptim</a> and may provide a little more
Constructs a null pixmap.
<p> <p>See also <a href="#isNull">isNull</a>().
-<h3 class=fn><a name="TQPixmap-2"></a>TQPixmap::TQPixmap ( const&nbsp;<a href="ntqimage.html">TQImage</a>&nbsp;&amp;&nbsp;image )
+<h3 class=fn><a name="TQPixmap-2"></a>TQPixmap::TQPixmap ( const&nbsp;<a href="tqimage.html">TQImage</a>&nbsp;&amp;&nbsp;image )
</h3>
-Constructs a pixmap from the <a href="ntqimage.html">TQImage</a> <em>image</em>.
+Constructs a pixmap from the <a href="tqimage.html">TQImage</a> <em>image</em>.
<p> <p>See also <a href="#convertFromImage">convertFromImage</a>().
<h3 class=fn><a name="TQPixmap-3"></a>TQPixmap::TQPixmap ( int&nbsp;w, int&nbsp;h, int&nbsp;depth = -1, <a href="ntqpixmap.html#Optimization-enum">Optimization</a>&nbsp;optimization = DefaultOptim )
@@ -307,7 +307,7 @@ This constructor is protected and used by the <a href="ntqbitmap.html">TQBitmap<
</h3>
Destroys the pixmap.
-<h3 class=fn>bool <a name="convertFromImage"></a>TQPixmap::convertFromImage ( const&nbsp;<a href="ntqimage.html">TQImage</a>&nbsp;&amp;&nbsp;img, int&nbsp;conversion_flags )
+<h3 class=fn>bool <a name="convertFromImage"></a>TQPixmap::convertFromImage ( const&nbsp;<a href="tqimage.html">TQImage</a>&nbsp;&amp;&nbsp;img, int&nbsp;conversion_flags )
</h3>
Converts image <em>img</em> and sets this pixmap. Returns TRUE if
successful; otherwise returns FALSE.
@@ -320,19 +320,19 @@ sets all the default options.
converted to an image, the pixels painted with color0 will produce
pixel index 0 in the image and those painted with color1 will
produce pixel index 1.
-<p> <p>See also <a href="#convertToImage">convertToImage</a>(), <a href="#isTQBitmap">isTQBitmap</a>(), <a href="ntqimage.html#convertDepth">TQImage::convertDepth</a>(), <a href="#defaultDepth">defaultDepth</a>(), and <a href="ntqimage.html#hasAlphaBuffer">TQImage::hasAlphaBuffer</a>().
+<p> <p>See also <a href="#convertToImage">convertToImage</a>(), <a href="#isTQBitmap">isTQBitmap</a>(), <a href="tqimage.html#convertDepth">TQImage::convertDepth</a>(), <a href="#defaultDepth">defaultDepth</a>(), and <a href="tqimage.html#hasAlphaBuffer">TQImage::hasAlphaBuffer</a>().
<p>Examples: <a href="canvas-example.html#x2943">canvas/canvas.cpp</a> and <a href="themes-example.html#x228">themes/wood.cpp</a>.
-<h3 class=fn>bool <a name="convertFromImage-2"></a>TQPixmap::convertFromImage ( const&nbsp;<a href="ntqimage.html">TQImage</a>&nbsp;&amp;&nbsp;image, <a href="ntqpixmap.html#ColorMode-enum">ColorMode</a>&nbsp;mode = Auto )
+<h3 class=fn>bool <a name="convertFromImage-2"></a>TQPixmap::convertFromImage ( const&nbsp;<a href="tqimage.html">TQImage</a>&nbsp;&amp;&nbsp;image, <a href="ntqpixmap.html#ColorMode-enum">ColorMode</a>&nbsp;mode = Auto )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Converts <em>image</em> and sets this pixmap using color mode <em>mode</em>.
Returns TRUE if successful; otherwise returns FALSE.
<p> <p>See also <a href="#ColorMode-enum">TQPixmap::ColorMode</a>.
-<h3 class=fn><a href="ntqimage.html">TQImage</a> <a name="convertToImage"></a>TQPixmap::convertToImage () const
+<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="convertToImage"></a>TQPixmap::convertToImage () const
</h3>
-Converts the pixmap to a <a href="ntqimage.html">TQImage</a>. Returns a null image if it fails.
+Converts the pixmap to a <a href="tqimage.html">TQImage</a>. Returns a null image if it fails.
<p> If the pixmap has 1-bit depth, the returned image will also be 1
bit deep. If the pixmap has 2- to 8-bit depth, the returned image
has 8-bit depth. If the pixmap has greater than 8-bit depth, the
@@ -354,11 +354,11 @@ can do things such as the following:
</pre>
<p> This function is slow because it involves transformation to a
-<a href="ntqimage.html">TQImage</a>, non-trivial computations and a transformation back to a
+<a href="tqimage.html">TQImage</a>, non-trivial computations and a transformation back to a
<a href="ntqbitmap.html">TQBitmap</a>.
<p> If <em>clipTight</em> is TRUE the mask is just large enough to cover the
pixels; otherwise, the mask is larger than the data pixels.
-<p> <p>See also <a href="ntqimage.html#createHeuristicMask">TQImage::createHeuristicMask</a>().
+<p> <p>See also <a href="tqimage.html#createHeuristicMask">TQImage::createHeuristicMask</a>().
<h3 class=fn>int <a name="defaultDepth"></a>TQPixmap::defaultDepth ()<tt> [static]</tt>
</h3>
@@ -377,7 +377,7 @@ Returns the default pixmap optimization setting.
<p> Returns the depth of the pixmap.
<p> The pixmap depth is also called bits per pixel (bpp) or bit planes
of a pixmap. A null pixmap has depth 0.
-<p> <p>See also <a href="#defaultDepth">defaultDepth</a>(), <a href="#isNull">isNull</a>(), and <a href="ntqimage.html#convertDepth">TQImage::convertDepth</a>().
+<p> <p>See also <a href="#defaultDepth">defaultDepth</a>(), <a href="#isNull">isNull</a>(), and <a href="tqimage.html#convertDepth">TQImage::convertDepth</a>().
<h3 class=fn>void <a name="detach"></a>TQPixmap::detach ()<tt> [virtual]</tt>
</h3>
@@ -444,7 +444,7 @@ color of the widget.
</h3> Convenience function. Gets the data associated with the absolute
name <em>abs_name</em> from the default mime source factory and decodes it
to a pixmap.
-<p> <p>See also <a href="qmimesourcefactory.html">TQMimeSourceFactory</a>, <a href="ntqimage.html#fromMimeSource">TQImage::fromMimeSource</a>(), and <a href="qimagedrag.html#decode">TQImageDrag::decode</a>().
+<p> <p>See also <a href="qmimesourcefactory.html">TQMimeSourceFactory</a>, <a href="tqimage.html#fromMimeSource">TQImage::fromMimeSource</a>(), and <a href="tqimagedrag.html#decode">TQImageDrag::decode</a>().
<p>Example: <a href="qactiongroup.html#x2113">textedit/textedit.cpp</a>.
<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> <a name="grabWidget"></a>TQPixmap::grabWidget ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;widget, int&nbsp;x = 0, int&nbsp;y = 0, int&nbsp;w = -1, int&nbsp;h = -1 )<tt> [static]</tt>
@@ -525,7 +525,7 @@ function returns FALSE.
</h3>
Returns a string that specifies the image format of the file <em>fileName</em>, or 0 if the file cannot be read or if the format cannot
be recognized.
-<p> The <a href="qimageio.html">TQImageIO</a> documentation lists the supported image formats.
+<p> The <a href="tqimageio.html">TQImageIO</a> documentation lists the supported image formats.
<p> <p>See also <a href="#load">load</a>() and <a href="#save">save</a>().
<h3 class=fn>bool <a name="isNull"></a>TQPixmap::isNull () const
@@ -554,9 +554,9 @@ using the specified format. If <em>format</em> is not specified
the file's format.
<p> See the <a href="#convertFromImage">convertFromImage</a>() documentation for a description of the
<em>conversion_flags</em> argument.
-<p> The <a href="qimageio.html">TQImageIO</a> documentation lists the supported image formats and
+<p> The <a href="tqimageio.html">TQImageIO</a> documentation lists the supported image formats and
explains how to add extra formats.
-<p> <p>See also <a href="#loadFromData">loadFromData</a>(), <a href="#save">save</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="ntqimage.html#load">TQImage::load</a>(), and <a href="qimageio.html">TQImageIO</a>.
+<p> <p>See also <a href="#loadFromData">loadFromData</a>(), <a href="#save">save</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="tqimage.html#load">TQImage::load</a>(), and <a href="tqimageio.html">TQImageIO</a>.
<p>Examples: <a href="picture-example.html#x124">picture/picture.cpp</a>, <a href="scrollview-example.html#x640">scrollview/scrollview.cpp</a>, and <a href="xform-example.html#x1247">xform/xform.cpp</a>.
<h3 class=fn>bool <a name="load-2"></a>TQPixmap::load ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;fileName, const&nbsp;char&nbsp;*&nbsp;format = 0, <a href="ntqpixmap.html#ColorMode-enum">ColorMode</a>&nbsp;mode = Auto )
@@ -580,9 +580,9 @@ using the specified format. If <em>format</em> is not specified
the file's format.
<p> See the <a href="#convertFromImage">convertFromImage</a>() documentation for a description of the
<em>conversion_flags</em> argument.
-<p> The <a href="qimageio.html">TQImageIO</a> documentation lists the supported image formats and
+<p> The <a href="tqimageio.html">TQImageIO</a> documentation lists the supported image formats and
explains how to add extra formats.
-<p> <p>See also <a href="#load">load</a>(), <a href="#save">save</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="ntqimage.html#loadFromData">TQImage::loadFromData</a>(), and <a href="qimageio.html">TQImageIO</a>.
+<p> <p>See also <a href="#load">load</a>(), <a href="#save">save</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="tqimage.html#loadFromData">TQImage::loadFromData</a>(), and <a href="tqimageio.html">TQImageIO</a>.
<h3 class=fn>bool <a name="loadFromData-2"></a>TQPixmap::loadFromData ( const&nbsp;uchar&nbsp;*&nbsp;buf, uint&nbsp;len, const&nbsp;char&nbsp;*&nbsp;format = 0, <a href="ntqpixmap.html#ColorMode-enum">ColorMode</a>&nbsp;mode = Auto )
</h3>
@@ -617,7 +617,7 @@ Internal implementation of the virtual TQPaintDevice::metric() function.
Assigns the pixmap <em>pixmap</em> to this pixmap and returns a
reference to this pixmap.
-<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp; <a name="operator-eq-2"></a>TQPixmap::operator= ( const&nbsp;<a href="ntqimage.html">TQImage</a>&nbsp;&amp;&nbsp;image )
+<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp; <a name="operator-eq-2"></a>TQPixmap::operator= ( const&nbsp;<a href="tqimage.html">TQImage</a>&nbsp;&amp;&nbsp;image )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Converts the image <em>image</em> to a pixmap that is assigned to this
@@ -666,7 +666,7 @@ be in the range [0,100] or -1. Specify 0 to obtain small
compressed files, 100 for large uncompressed files, and -1 to use
the default settings. Returns TRUE if successful; otherwise
returns FALSE.
-<p> <p>See also <a href="#load">load</a>(), <a href="#loadFromData">loadFromData</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="ntqimage.html#save">TQImage::save</a>(), and <a href="qimageio.html">TQImageIO</a>.
+<p> <p>See also <a href="#load">load</a>(), <a href="#loadFromData">loadFromData</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="tqimage.html#save">TQImage::save</a>(), and <a href="tqimageio.html">TQImageIO</a>.
<p>Example: <a href="qmag-example.html#x1786">qmag/qmag.cpp</a>.
<h3 class=fn>bool <a name="save-2"></a>TQPixmap::save ( <a href="ntqiodevice.html">TQIODevice</a>&nbsp;*&nbsp;device, const&nbsp;char&nbsp;*&nbsp;format, int&nbsp;quality = -1 ) const
@@ -777,9 +777,9 @@ The original pixmap is not changed.
for unwanted translation, i.e. <a href="#xForm">xForm</a>() returns the smallest image
that contains all the transformed points of the original image.
<p> This function is slow because it involves transformation to a
-<a href="ntqimage.html">TQImage</a>, non-trivial computations and a transformation back to a
+<a href="tqimage.html">TQImage</a>, non-trivial computations and a transformation back to a
TQPixmap.
-<p> <p>See also <a href="#trueMatrix">trueMatrix</a>(), <a href="ntqwmatrix.html">TQWMatrix</a>, <a href="ntqpainter.html#setWorldMatrix">TQPainter::setWorldMatrix</a>(), and <a href="ntqimage.html#xForm">TQImage::xForm</a>().
+<p> <p>See also <a href="#trueMatrix">trueMatrix</a>(), <a href="ntqwmatrix.html">TQWMatrix</a>, <a href="ntqpainter.html#setWorldMatrix">TQPainter::setWorldMatrix</a>(), and <a href="tqimage.html#xForm">TQImage::xForm</a>().
<p>Examples: <a href="desktop-example.html#x1747">desktop/desktop.cpp</a>, <a href="fileiconview-example.html#x863">fileiconview/qfileiconview.cpp</a>, <a href="movies-example.html#x514">movies/main.cpp</a>, and <a href="qmag-example.html#x1787">qmag/qmag.cpp</a>.
<hr><h2>Related Functions</h2>