diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/dnd.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/dnd.html')
| -rw-r--r-- | doc/html/dnd.html | 4 |
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) |
