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/dnd.doc | |
| 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/dnd.doc')
| -rw-r--r-- | doc/dnd.doc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/dnd.doc b/doc/dnd.doc index 27ac5937d..aa90ac456 100644 --- a/doc/dnd.doc +++ b/doc/dnd.doc @@ -84,7 +84,7 @@ references. \section1 Dropping To be able to receive media dropped on a widget, call -\link TQWidget::setAcceptDrops() setAcceptDrops(TRUE)\endlink +\link TQWidget::setAcceptDrops() setAcceptDrops(true)\endlink for the widget (e.g. in its constructor), and override the event handler methods \link TQWidget::dragEnterEvent() dragEnterEvent()\endlink and @@ -100,7 +100,7 @@ MyWidget::MyWidget(...) : TQWidget(...) { ... - setAcceptDrops(TRUE); + setAcceptDrops(true); } void MyWidget::dragEnterEvent(QDragEnterEvent* event) |
