summaryrefslogtreecommitdiffstats
path: root/doc/html/qglwidget.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qglwidget.html')
-rw-r--r--doc/html/qglwidget.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/qglwidget.html b/doc/html/qglwidget.html
index adc942c47..142ba2560 100644
--- a/doc/html/qglwidget.html
+++ b/doc/html/qglwidget.html
@@ -284,17 +284,17 @@ returned will be empty.
example, if the underlying hardware does not support the format
attributes that were requested.
-<h3 class=fn><a href="ntqimage.html">TQImage</a> <a name="convertToGLFormat"></a>TQGLWidget::convertToGLFormat ( const&nbsp;<a href="ntqimage.html">TQImage</a>&nbsp;&amp;&nbsp;img )<tt> [static]</tt>
+<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="convertToGLFormat"></a>TQGLWidget::convertToGLFormat ( const&nbsp;<a href="tqimage.html">TQImage</a>&nbsp;&amp;&nbsp;img )<tt> [static]</tt>
</h3>
Converts the image <em>img</em> into the unnamed format expected by
OpenGL functions such as glTexImage2D(). The returned image is not
-usable as a <a href="ntqimage.html">TQImage</a>, but <a href="ntqimage.html#width">TQImage::width</a>(), <a href="ntqimage.html#height">TQImage::height</a>() and
-<a href="ntqimage.html#bits">TQImage::bits</a>() may be used with OpenGL. The following few lines
+usable as a <a href="tqimage.html">TQImage</a>, but <a href="tqimage.html#width">TQImage::width</a>(), <a href="tqimage.html#height">TQImage::height</a>() and
+<a href="tqimage.html#bits">TQImage::bits</a>() may be used with OpenGL. The following few lines
are from the texture example. Most of the code is irrelevant, so
we just quote the relevant bits:
<p>
-<pre> <a href="ntqimage.html">TQImage</a> tex1, tex2, buf;
+<pre> <a href="tqimage.html">TQImage</a> tex1, tex2, buf;
if ( !buf.load( "gllogo.bmp" ) ) { // Load first image from file
</pre>
<p> We create <em>tex1</em> (and another variable) for OpenGL, and load a real
@@ -303,8 +303,8 @@ image into <em>buf</em>.
</pre>
<p> A few lines later, we convert <em>buf</em> into OpenGL format and store it
in <em>tex1</em>.
-<p> <pre> <a name="x2121"></a><a name="x2120"></a> glTexImage2D( GL_TEXTURE_2D, 0, 3, tex1.<a href="ntqimage.html#width">width</a>(), tex1.<a href="ntqimage.html#height">height</a>(), 0,
- <a name="x2119"></a> GL_RGBA, GL_UNSIGNED_BYTE, tex1.<a href="ntqimage.html#bits">bits</a>() );
+<p> <pre> <a name="x2121"></a><a name="x2120"></a> glTexImage2D( GL_TEXTURE_2D, 0, 3, tex1.<a href="tqimage.html#width">width</a>(), tex1.<a href="tqimage.html#height">height</a>(), 0,
+ <a name="x2119"></a> GL_RGBA, GL_UNSIGNED_BYTE, tex1.<a href="tqimage.html#bits">bits</a>() );
</pre>
<p> Note the dimension restrictions for texture images as described in
the glTexImage2D() documentation. The width must be 2^m + 2*border
@@ -343,7 +343,7 @@ Executes the virtual function <a href="#paintGL">paintGL</a>().
Initializes OpenGL for this widget's context. Calls the virtual
function <a href="#initializeGL">initializeGL</a>().
-<h3 class=fn><a href="ntqimage.html">TQImage</a> <a name="grabFrameBuffer"></a>TQGLWidget::grabFrameBuffer ( bool&nbsp;withAlpha = FALSE )<tt> [virtual]</tt>
+<h3 class=fn><a href="tqimage.html">TQImage</a> <a name="grabFrameBuffer"></a>TQGLWidget::grabFrameBuffer ( bool&nbsp;withAlpha = FALSE )<tt> [virtual]</tt>
</h3>
Returns an image of the frame buffer. If <em>withAlpha</em> is TRUE the
alpha channel is included.