diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqclipboard.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-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/tqclipboard.3qt')
| -rw-r--r-- | doc/man/man3/tqclipboard.3qt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/man/man3/tqclipboard.3qt b/doc/man/man3/tqclipboard.3qt index a837a697b..2925dea84 100644 --- a/doc/man/man3/tqclipboard.3qt +++ b/doc/man/man3/tqclipboard.3qt @@ -187,7 +187,7 @@ See also QClipboard::Mode and supportsSelection(). .SH "void QClipboard::clear ()" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the QClipboard::clear() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. +This function uses the QClipboard::clear() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "QMimeSource * QClipboard::data ( Mode mode ) const" Returns a reference to a QMimeSource representation of the current clipboard data. .PP @@ -197,7 +197,7 @@ See also setData(). .SH "QMimeSource * QClipboard::data () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the QClipboard::data() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. +This function uses the QClipboard::data() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "void QClipboard::dataChanged ()\fC [signal]\fR" This signal is emitted when the clipboard data is changed. .SH "TQImage QClipboard::image ( Mode mode ) const" @@ -209,11 +209,11 @@ See also setImage(), pixmap(), data(), and TQImage::isNull(). .SH "TQImage QClipboard::image () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the QClipboard::image() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. +This function uses the QClipboard::image() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "bool QClipboard::ownsClipboard () const" -Returns TRUE if this clipboard object owns the clipboard data; otherwise returns FALSE. +Returns true if this clipboard object owns the clipboard data; otherwise returns false. .SH "bool QClipboard::ownsSelection () const" -Returns TRUE if this clipboard object owns the mouse selection data; otherwise returns FALSE. +Returns true if this clipboard object owns the mouse selection data; otherwise returns false. .SH "QPixmap QClipboard::pixmap ( Mode mode ) const" Returns the clipboard pixmap, or null if the clipboard does not contain a pixmap. Note that this can lose information. For example, if the image is 24-bit and the display is 8-bit, the result is converted to 8 bits, and if the image has an alpha channel, the result just has a mask. .PP @@ -223,7 +223,7 @@ See also setPixmap(), image(), data(), and QPixmap::convertFromImage(). .SH "QPixmap QClipboard::pixmap () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the QClipboard::pixmap() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. +This function uses the QClipboard::pixmap() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "void QClipboard::selectionChanged ()\fC [signal]\fR" This signal is emitted when the selection is changed. This only applies to windowing systems that support selections, e.g. X11. Windows doesn't support selections. .SH "bool QClipboard::selectionModeEnabled () const" @@ -247,7 +247,7 @@ See also data(). .SH "void QClipboard::setData ( QMimeSource * src )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the QClipboard::setData() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. +This function uses the QClipboard::setData() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "void QClipboard::setImage ( const TQImage & image, Mode mode )" Copies \fIimage\fR into the clipboard. .PP @@ -265,7 +265,7 @@ See also image(), setPixmap(), and setData(). .SH "void QClipboard::setImage ( const TQImage & image )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the QClipboard::setImage() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. +This function uses the QClipboard::setImage() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "void QClipboard::setPixmap ( const QPixmap & pixmap, Mode mode )" Copies \fIpixmap\fR into the clipboard. Note that this is slower than setImage() because it needs to convert the QPixmap to a TQImage first. .PP @@ -275,13 +275,13 @@ See also pixmap(), setImage(), and setData(). .SH "void QClipboard::setPixmap ( const QPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the QClipboard::setPixmap() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. +This function uses the QClipboard::setPixmap() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "void QClipboard::setSelectionMode ( bool enable )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use the QClipboard::data(), QClipboard::setData() and related functions which take a QClipboard::Mode argument. .PP -Sets the clipboard selection mode. If \fIenable\fR is TRUE, then subsequent calls to QClipboard::setData() and other functions which put data into the clipboard will put the data into the mouse selection, otherwise the data will be put into the clipboard. +Sets the clipboard selection mode. If \fIenable\fR is true, then subsequent calls to QClipboard::setData() and other functions which put data into the clipboard will put the data into the mouse selection, otherwise the data will be put into the clipboard. .PP See also supportsSelection() and selectionModeEnabled(). .SH "void QClipboard::setText ( const TQString & text, Mode mode )" @@ -295,9 +295,9 @@ Example: regexptester/regexptester.cpp. .SH "void QClipboard::setText ( const TQString & text )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the QClipboard::setText() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. +This function uses the QClipboard::setText() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "bool QClipboard::supportsSelection () const" -Returns TRUE if the clipboard supports mouse selection; otherwise returns FALSE. +Returns true if the clipboard supports mouse selection; otherwise returns false. .PP Example: regexptester/regexptester.cpp. .SH "TQString QClipboard::text ( Mode mode ) const" @@ -319,7 +319,7 @@ See also setText(), data(), and TQString::operator!(). .SH "TQString QClipboard::text () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the QClipboard::text() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. +This function uses the QClipboard::text() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "TQString QClipboard::text ( QCString & subtype ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP @@ -328,7 +328,7 @@ if the clipboard does not contain any text. This function uses the QClipboard::text() function which takes a QClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() -returns TRUE, the mode argument is QClipboard::Selection, +returns true, the mode argument is QClipboard::Selection, otherwise the mode argument is QClipboard::Clipboard. .SH "SEE ALSO" |
