diff options
Diffstat (limited to 'src/kernel/tqmotifdnd_x11.cpp')
| -rw-r--r-- | src/kernel/tqmotifdnd_x11.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/tqmotifdnd_x11.cpp b/src/kernel/tqmotifdnd_x11.cpp index e1481446f..18e69b139 100644 --- a/src/kernel/tqmotifdnd_x11.cpp +++ b/src/kernel/tqmotifdnd_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, |
