diff options
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 844594131..2c024abd2 100644 --- a/doc/man/man3/tqclipboard.3qt +++ b/doc/man/man3/tqclipboard.3qt @@ -187,7 +187,7 @@ See also TQClipboard::Mode and supportsSelection(). .SH "void TQClipboard::clear ()" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the TQClipboard::clear() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. +This function uses the TQClipboard::clear() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "TQMimeSource * TQClipboard::data ( Mode mode ) const" Returns a reference to a TQMimeSource representation of the current clipboard data. .PP @@ -197,7 +197,7 @@ See also setData(). .SH "TQMimeSource * TQClipboard::data () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the TQClipboard::data() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. +This function uses the TQClipboard::data() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "void TQClipboard::dataChanged ()\fC [signal]\fR" This signal is emitted when the clipboard data is changed. .SH "TQImage TQClipboard::image ( Mode mode ) const" @@ -209,11 +209,11 @@ See also setImage(), pixmap(), data(), and TQImage::isNull(). .SH "TQImage TQClipboard::image () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the TQClipboard::image() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. +This function uses the TQClipboard::image() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "bool TQClipboard::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 TQClipboard::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 "TQPixmap TQClipboard::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 TQPixmap::convertFromImage(). .SH "TQPixmap TQClipboard::pixmap () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the TQClipboard::pixmap() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. +This function uses the TQClipboard::pixmap() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "void TQClipboard::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 TQClipboard::selectionModeEnabled () const" @@ -247,7 +247,7 @@ See also data(). .SH "void TQClipboard::setData ( TQMimeSource * src )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the TQClipboard::setData() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. +This function uses the TQClipboard::setData() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "void TQClipboard::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 TQClipboard::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 TQClipboard::setImage() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. +This function uses the TQClipboard::setImage() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "void TQClipboard::setPixmap ( const TQPixmap & pixmap, Mode mode )" Copies \fIpixmap\fR into the clipboard. Note that this is slower than setImage() because it needs to convert the TQPixmap to a TQImage first. .PP @@ -275,13 +275,13 @@ See also pixmap(), setImage(), and setData(). .SH "void TQClipboard::setPixmap ( const TQPixmap & pixmap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the TQClipboard::setPixmap() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. +This function uses the TQClipboard::setPixmap() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "void TQClipboard::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 TQClipboard::data(), TQClipboard::setData() and related functions which take a TQClipboard::Mode argument. .PP -Sets the clipboard selection mode. If \fIenable\fR is TRUE, then subsequent calls to TQClipboard::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 TQClipboard::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 TQClipboard::setText ( const TQString & text, Mode mode )" @@ -295,9 +295,9 @@ Example: regexptester/regexptester.cpp. .SH "void TQClipboard::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 TQClipboard::setText() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. +This function uses the TQClipboard::setText() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "bool TQClipboard::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 TQClipboard::text ( Mode mode ) const" @@ -319,7 +319,7 @@ See also setText(), data(), and TQString::operator!(). .SH "TQString TQClipboard::text () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This function uses the TQClipboard::text() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns TRUE, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. +This function uses the TQClipboard::text() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "TQString TQClipboard::text ( TQCString & 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 TQClipboard::text() function which takes a TQClipboard::Mode argument. The value of the mode argument is determined by the return value of selectionModeEnabled(). If selectionModeEnabled() -returns TRUE, the mode argument is TQClipboard::Selection, +returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. .SH "SEE ALSO" |