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 f55293c3f..b9adae752 100644
--- a/doc/html/dnd.html
+++ b/doc/html/dnd.html
@@ -86,7 +86,7 @@ references.
<p> <h2> Dropping
</h2>
<a name="2"></a><p> To be able to receive media dropped on a widget, call
-<a href="ntqwidget.html#setAcceptDrops">setAcceptDrops(TRUE)</a>
+<a href="ntqwidget.html#setAcceptDrops">setAcceptDrops(true)</a>
for the widget (e.g. in its constructor), and override the
event handler methods
<a href="ntqwidget.html#dragEnterEvent">dragEnterEvent()</a> and
@@ -101,7 +101,7 @@ MyWidget::MyWidget(...) :
<a href="ntqwidget.html">TQWidget</a>(...)
{
...
- setAcceptDrops(TRUE);
+ setAcceptDrops(true);
}
void MyWidget::dragEnterEvent(TQDragEnterEvent* event)