From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqclipboard.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'doc/html/tqclipboard.html') diff --git a/doc/html/tqclipboard.html b/doc/html/tqclipboard.html index bde04f0e0..bf83f1e68 100644 --- a/doc/html/tqclipboard.html +++ b/doc/html/tqclipboard.html @@ -173,7 +173,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

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 +If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.

TQMimeSource * TQClipboard::data ( Mode mode ) const @@ -193,7 +193,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

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 +If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. @@ -220,19 +220,19 @@ This is an overloaded member function, provided for convenience. It behaves esse

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 +If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.

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.

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.

TQPixmap TQClipboard::pixmap ( Mode mode ) const

@@ -254,7 +254,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

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 +If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. @@ -298,7 +298,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

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 +If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. @@ -323,7 +323,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

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 +If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. @@ -345,7 +345,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

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 +If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. @@ -353,7 +353,7 @@ TQClipboard::Clipboard. This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

Use the TQClipboard::data(), TQClipboard::setData() and related functions which take a TQClipboard::Mode argument. -

Sets the clipboard selection mode. If enable is TRUE, then +

Sets the clipboard selection mode. If enable 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. @@ -376,14 +376,14 @@ This is an overloaded member function, provided for convenience. It behaves esse

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 +If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.

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.

Example: regexptester/regexptester.cpp.

TQString TQClipboard::text ( Mode mode ) const @@ -418,7 +418,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

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 +If selectionModeEnabled() returns true, the mode argument is TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard. @@ -430,7 +430,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. -- cgit v1.2.3