summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqglcontext.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:43:03 +0900
commit6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch)
treeb029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqglcontext.3qt
parent81ade129093a279e6537db25710583fd2bba9427 (diff)
downloadtqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz
tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqglcontext.3qt')
-rw-r--r--doc/man/man3/tqglcontext.3qt18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqglcontext.3qt b/doc/man/man3/tqglcontext.3qt
index 14a2f679b..ac31b2bd9 100644
--- a/doc/man/man3/tqglcontext.3qt
+++ b/doc/man/man3/tqglcontext.3qt
@@ -147,7 +147,7 @@ The algorithm for reducing the demands of the format is quite simple-minded, so
.PP
See also chooseContext().
.SH "bool QGLContext::create ( const QGLContext * shareContext = 0 )\fC [virtual]\fR"
-Creates the GL context. Returns TRUE if it was successful in creating a valid GL rendering context on the paint device specified in the constructor; otherwise returns FALSE (i.e. the context is invalid).
+Creates the GL context. Returns true if it was successful in creating a valid GL rendering context on the paint device specified in the constructor; otherwise returns false (i.e. the context is invalid).
.PP
After successful creation, format() returns the set of features of the created GL rendering context.
.PP
@@ -165,7 +165,7 @@ Returns the paint device set for this context.
.PP
See also QGLContext::QGLContext().
.SH "bool QGLContext::deviceIsPixmap () const\fC [protected]\fR"
-Returns TRUE if the paint device of this context is a pixmap; otherwise returns FALSE.
+Returns true if the paint device of this context is a pixmap; otherwise returns false.
.SH "void QGLContext::doneCurrent ()\fC [virtual protected]\fR"
Makes no GL context the current context. Normally, you do not need to call this function; QGLContext calls it as necessary.
.SH "QGLFormat QGLContext::format () const"
@@ -177,13 +177,13 @@ Generates a set of 256 display lists for the 256 first characters in the font \f
.PP
See also QGLWidget::renderText().
.SH "bool QGLContext::initialized () const\fC [protected]\fR"
-Returns TRUE if this context has been initialized, i.e. if QGLWidget::initializeGL() has been performed on it; otherwise returns FALSE.
+Returns true if this context has been initialized, i.e. if QGLWidget::initializeGL() has been performed on it; otherwise returns false.
.PP
See also setInitialized().
.SH "bool QGLContext::isSharing () const"
-Returns TRUE if display list sharing with another context was requested in the create() call and the GL system was able to fulfill this request; otherwise returns FALSE. Note that display list sharing might not be supported between contexts with different formats.
+Returns true if display list sharing with another context was requested in the create() call and the GL system was able to fulfill this request; otherwise returns false. Note that display list sharing might not be supported between contexts with different formats.
.SH "bool QGLContext::isValid () const"
-Returns TRUE if a GL rendering context has been successfully created; otherwise returns FALSE.
+Returns true if a GL rendering context has been successfully created; otherwise returns false.
.SH "void QGLContext::makeCurrent ()\fC [virtual]\fR"
Makes this context the current OpenGL rendering context. All GL functions you call operate on this context until another context is made current.
.PP
@@ -215,7 +215,7 @@ Call create() to create a new GL context that tries to match the new format.
.br
QGLFormat f;
.br
- f.setStereo( TRUE );
+ f.setStereo( true );
.br
cx->setFormat( f );
.br
@@ -231,11 +231,11 @@ Call create() to create a new GL context that tries to match the new format.
.PP
See also format(), reset(), and create().
.SH "void QGLContext::setInitialized ( bool on )\fC [protected]\fR"
-If \fIon\fR is TRUE the context has been initialized, i.e. QGLContext::setInitialized() has been called on it. If \fIon\fR is FALSE the context has not been initialized.
+If \fIon\fR is true the context has been initialized, i.e. QGLContext::setInitialized() has been called on it. If \fIon\fR is false the context has not been initialized.
.PP
See also initialized().
.SH "void QGLContext::setWindowCreated ( bool on )\fC [protected]\fR"
-If \fIon\fR is TRUE the context has had a window created for it. If \fIon\fR is FALSE no window has been created for the context.
+If \fIon\fR is true the context has had a window created for it. If \fIon\fR is false no window has been created for the context.
.PP
See also windowCreated().
.SH "void QGLContext::swapBuffers () const\fC [virtual]\fR"
@@ -243,7 +243,7 @@ Swaps the screen contents with an off-screen buffer. Only works if the context i
.PP
See also QGLFormat::setDoubleBuffer().
.SH "bool QGLContext::windowCreated () const\fC [protected]\fR"
-Returns TRUE if a window has been created for this context; otherwise returns FALSE.
+Returns true if a window has been created for this context; otherwise returns false.
.PP
See also setWindowCreated().