diff options
author | Timothy Pearson <[email protected]> | 2012-03-02 02:11:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-02 02:11:59 -0600 |
commit | 9a75b154bf0732aa3a501b6e31e566e06c5f8a31 (patch) | |
tree | df1e10cc7504665622d096f9ba80dc9e56f3afb8 /src/kernel/qdnd_x11.cpp | |
parent | a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (diff) | |
download | qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.tar.gz qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.zip |
Undo prior accidental commit
Diffstat (limited to 'src/kernel/qdnd_x11.cpp')
-rw-r--r-- | src/kernel/qdnd_x11.cpp | 18 |
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() |