summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqwhatsthis.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/tqwhatsthis.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/tqwhatsthis.3qt')
-rw-r--r--doc/man/man3/tqwhatsthis.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqwhatsthis.3qt b/doc/man/man3/tqwhatsthis.3qt
index a902b44e4..5c06ee502 100644
--- a/doc/man/man3/tqwhatsthis.3qt
+++ b/doc/man/man3/tqwhatsthis.3qt
@@ -40,7 +40,7 @@ Inherits Qt.
.BI "void \fBremove\fR ( TQWidget * widget )"
.br
.ti -1c
-.BI "TQString \fBtextFor\fR ( TQWidget * w, const QPoint & pos = QPoint ( ), bool includeParents = FALSE )"
+.BI "TQString \fBtextFor\fR ( TQWidget * w, const QPoint & pos = QPoint ( ), bool includeParents = false )"
.br
.ti -1c
.BI "QToolButton * \fBwhatsThisButton\fR ( TQWidget * parent )"
@@ -125,9 +125,9 @@ Examples:
.SH "bool QWhatsThis::clicked ( const TQString & href )\fC [virtual]\fR"
This virtual function is called when the user clicks inside the" What's this?" window. \fIhref\fR is the link the user clicked on, or TQString::null if there was no link.
.PP
-If the function returns TRUE (the default), the "What's this?" window is closed, otherwise it remains visible.
+If the function returns true (the default), the "What's this?" window is closed, otherwise it remains visible.
.PP
-The default implementation ignores \fIhref\fR and returns TRUE.
+The default implementation ignores \fIhref\fR and returns true.
.SH "void QWhatsThis::display ( const TQString & text, const QPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR"
Display \fItext\fR in a help window at the global screen position \fIpos\fR.
.PP
@@ -143,7 +143,7 @@ The user can also use the Esc key to leave "What's this?" mode.
.PP
See also inWhatsThisMode() and leaveWhatsThisMode().
.SH "bool QWhatsThis::inWhatsThisMode ()\fC [static]\fR"
-Returns TRUE if the application is in "What's this?" mode; otherwise returns FALSE.
+Returns true if the application is in "What's this?" mode; otherwise returns false.
.PP
See also enterWhatsThisMode() and leaveWhatsThisMode().
.SH "void QWhatsThis::leaveWhatsThisMode ( const TQString & text = TQString::null, const QPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR"
@@ -164,10 +164,10 @@ Sets the font for all "What's this?" helps to \fIfont\fR.
This virtual function returns the text for position \fIp\fR in the widget that this "What's this?" object documents. If there is no" What's this?" text for the position, TQString::null is returned.
.PP
The default implementation returns TQString::null.
-.SH "TQString QWhatsThis::textFor ( TQWidget * w, const QPoint & pos = QPoint ( ), bool includeParents = FALSE )\fC [static]\fR"
+.SH "TQString QWhatsThis::textFor ( TQWidget * w, const QPoint & pos = QPoint ( ), bool includeParents = false )\fC [static]\fR"
Returns the what's this text for widget \fIw\fR or TQString::null if there is no "What's this?" help for the widget. \fIpos\fR contains the mouse position; this is useful, for example, if you've subclassed to make the text that is displayed position dependent.
.PP
-If \fIincludeParents\fR is TRUE, parent widgets are taken into consideration as well when looking for what's this help text.
+If \fIincludeParents\fR is true, parent widgets are taken into consideration as well when looking for what's this help text.
.PP
See also add().
.SH "QToolButton * QWhatsThis::whatsThisButton ( TQWidget * parent )\fC [static]\fR"