summaryrefslogtreecommitdiffstats
path: root/doc/html/dnd.html
diff options
context:
space:
mode:
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)