summaryrefslogtreecommitdiffstats
path: root/src/kernel/qdnd_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qdnd_x11.cpp')
-rw-r--r--src/kernel/qdnd_x11.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kernel/qdnd_x11.cpp b/src/kernel/qdnd_x11.cpp
index 0764793..607a358 100644
--- a/src/kernel/qdnd_x11.cpp
+++ b/src/kernel/qdnd_x11.cpp
@@ -460,7 +460,7 @@ void qt_xdnd_setup() {
qt_x11_intern_atom( "QT_SELECTION", &qt_selection_property );
qt_x11_intern_atom( "INCR", &qt_incr_atom );
- tqAddPostRoutine( qt_xdnd_cleanup );
+ qAddPostRoutine( qt_xdnd_cleanup );
}
@@ -616,7 +616,7 @@ void qt_handle_xdnd_position( QWidget *w, const XEvent * xe, bool passive )
}
if ( l[0] != qt_xdnd_dragsource_xid ) {
- //tqDebug( "xdnd drag position from unexpected source (%08lx not %08lx)",
+ //qDebug( "xdnd drag position from unexpected source (%08lx not %08lx)",
// l[0], qt_xdnd_dragsource_xid );
return;
}
@@ -761,7 +761,7 @@ void qt_handle_xdnd_status( QWidget * w, const XEvent * xe, bool /*passive*/ )
void qt_handle_xdnd_leave( QWidget *w, const XEvent * xe, bool /*passive*/ )
{
- //tqDebug( "xdnd leave" );
+ //qDebug( "xdnd leave" );
if ( !qt_xdnd_current_widget ||
w->topLevelWidget() != qt_xdnd_current_widget->topLevelWidget() ) {
return; // sanity
@@ -780,7 +780,7 @@ void qt_handle_xdnd_leave( QWidget *w, const XEvent * xe, bool /*passive*/ )
if ( l[0] != qt_xdnd_dragsource_xid ) {
// This often happens - leave other-process window quickly
- //tqDebug( "xdnd drag leave from unexpected source (%08lx not %08lx",
+ //qDebug( "xdnd drag leave from unexpected source (%08lx not %08lx",
//l[0], qt_xdnd_dragsource_xid );
qt_xdnd_current_widget = 0;
return;
@@ -839,10 +839,10 @@ void qt_handle_xdnd_drop( QWidget *, const XEvent * xe, bool passive )
}
const unsigned long *l = (const unsigned long *)xe->xclient.data.l;
- //tqDebug( "xdnd drop" );
+ //qDebug( "xdnd drop" );
if ( l[0] != qt_xdnd_dragsource_xid ) {
- //tqDebug( "xdnd drop from unexpected source (%08lx not %08lx",
+ //qDebug( "xdnd drop from unexpected source (%08lx not %08lx",
// l[0], qt_xdnd_dragsource_xid );
return;
}
@@ -1509,7 +1509,7 @@ bool qt_xdnd_handle_badwindow()
bool QDropEvent::provides( const char *mimeType ) const
{
- if ( qt_motifdnd_active && tqstrnicmp( mimeType, "text/", 5 ) == 0 )
+ if ( qt_motifdnd_active && qstrnicmp( mimeType, "text/", 5 ) == 0 )
return TRUE;
int n=0;
@@ -1519,7 +1519,7 @@ bool QDropEvent::provides( const char *mimeType ) const
if ( !f )
return FALSE;
n++;
- } while( tqstricmp( mimeType, f ) );
+ } while( qstricmp( mimeType, f ) );
return TRUE;
}
@@ -1617,7 +1617,7 @@ static QByteArray qt_xdnd_obtain_data( const char *format )
qt_xdnd_selection,
nbytes, FALSE );
} else if ( type != *a ) {
- // (includes None) tqDebug( "Qt clipboard: unknown atom %ld", type);
+ // (includes None) qDebug( "Qt clipboard: unknown atom %ld", type);
}
#if 0
// this needs to be matched by a qt_xdnd_target_data->clear()