summaryrefslogtreecommitdiffstats
path: root/doc/html/dnd.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
commitdcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch)
treed57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/dnd.html
parent649c4c61a1f1f479f4532b196f68df476cef2680 (diff)
downloadtqt-rename/true-false-4.tar.gz
tqt-rename/true-false-4.zip
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/dnd.html')
-rw-r--r--doc/html/dnd.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/dnd.html b/doc/html/dnd.html
index b5bc53181..2ac147a8c 100644
--- a/doc/html/dnd.html
+++ b/doc/html/dnd.html
@@ -85,7 +85,7 @@ references.
<p> <h2> Dropping
</h2>
<a name="2"></a><p> To be able to receive media dropped on a widget, call
-<a href="tqwidget.html#setAcceptDrops">setAcceptDrops(TRUE)</a>
+<a href="tqwidget.html#setAcceptDrops">setAcceptDrops(true)</a>
for the widget (e.g. in its constructor), and override the
event handler methods
<a href="tqwidget.html#dragEnterEvent">dragEnterEvent()</a> and
@@ -100,7 +100,7 @@ MyWidget::MyWidget(...) :
<a href="tqwidget.html">TQWidget</a>(...)
{
...
- setAcceptDrops(TRUE);
+ setAcceptDrops(true);
}
void MyWidget::dragEnterEvent(TQDragEnterEvent* event)