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/tqdragobject.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/tqdragobject.html') diff --git a/doc/html/tqdragobject.html b/doc/html/tqdragobject.html index f234e07bd..5d0a6140b 100644 --- a/doc/html/tqdragobject.html +++ b/doc/html/tqdragobject.html @@ -110,9 +110,9 @@ which it is involved, and frees up the storage used. Starts a drag operation using the contents of this object, using DragDefault mode. -

The function returns TRUE if the caller should delete the original +

The function returns true if the caller should delete the original copy of the dragged data (but see target()); otherwise returns -FALSE. +false.

If the drag contains references to information (e.g. file names in a TQUriDrag are references) then the return value should always be ignored, as the target is expected to manipulate the @@ -133,10 +133,10 @@ application. You should not delete the drag object or anything it references. The actual transfer of data to the target application will be done during future event processing - after that time the drag object will be deleted. -

Returns TRUE if the dragged data was dragged as a move, +

Returns true if the dragged data was dragged as a move, indicating that the caller should remove the original source of the data (the drag object must continue to have a copy); otherwise -returns FALSE. +returns false.

The mode specifies the drag mode (see TQDragObject::DragMode.) Normally one of the simpler drag(), dragMove(), or dragCopy() functions would be used instead. -- cgit v1.2.3