diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-08 15:17:51 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-14 17:51:59 +0900 |
| commit | 3a477fb70884668d163f6631a73c8ab894928bcc (patch) | |
| tree | 0ac0327df978cf22b7a1f495f0649591bb39ed2a /src/kernel/qmotifdnd_x11.cpp | |
| parent | e4085a83c143eb366d0364596297b322476cc652 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 8r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7d612f7c91d55501276a385a30dbadb121e7bd9f)
Diffstat (limited to 'src/kernel/qmotifdnd_x11.cpp')
| -rw-r--r-- | src/kernel/qmotifdnd_x11.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/qmotifdnd_x11.cpp b/src/kernel/qmotifdnd_x11.cpp index a95ed8d54..2d8e43849 100644 --- a/src/kernel/qmotifdnd_x11.cpp +++ b/src/kernel/qmotifdnd_x11.cpp @@ -81,7 +81,7 @@ in doc/dnd.doc, where the documentation system can see it. */ static Atom atom_message_type, atom_receiver_info, atom_src_property_type; static Atom atom_motif_window, atom_target_list ; -static bool in_drop_site = FALSE; +static bool in_drop_site = false; static Window cur_window = 0; static TQWidget *drop_widget = 0L; @@ -775,8 +775,8 @@ TQByteArray qt_motifdnd_obtain_data( const char *mimeType ) if ( qt_xclb_read_property( tqt_xdisplay(), tw->winId(), - Dnd_selection, TRUE, - &result, 0, &type, 0, TRUE ) ) { + Dnd_selection, true, + &result, 0, &type, 0, true ) ) { } } @@ -826,7 +826,7 @@ void qt_motifdnd_handle_msg( TQWidget * /* w */ , const XEvent * xe, bool /* pas send a drop site enter or drop site leave or echo */ TQPoint p( dnd_data.x, dnd_data.y ); - TQWidget *c = TQApplication::widgetAt( p, TRUE ); + TQWidget *c = TQApplication::widgetAt( p, true ); if (c) p = c->mapFromGlobal(p); @@ -918,7 +918,7 @@ void qt_motifdnd_handle_msg( TQWidget * /* w */ , const XEvent * xe, bool /* pas /* get the size of our drop site for later use */ cur_window = dnd_data.src_window ; - qt_motifdnd_active = TRUE; + qt_motifdnd_active = true; /* no answer needed, just read source property */ DndReadSourceProperty (event.xclient.display, |
