diff options
author | Timothy Pearson <[email protected]> | 2012-03-02 02:13:02 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-02 02:13:02 -0600 |
commit | 8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96 (patch) | |
tree | bf71d4bfa94d0561e80456400ae5fe2bb501fbd8 /khotkeys/shared/gestures.cpp | |
parent | e8a1cdc01d38125bea12d5494db977ae6429919a (diff) | |
download | tdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.tar.gz tdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.zip |
Rename additional global functions and variables for tqt3
Diffstat (limited to 'khotkeys/shared/gestures.cpp')
-rw-r--r-- | khotkeys/shared/gestures.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/khotkeys/shared/gestures.cpp b/khotkeys/shared/gestures.cpp index 60b1d93b4..f98c44e18 100644 --- a/khotkeys/shared/gestures.cpp +++ b/khotkeys/shared/gestures.cpp @@ -154,8 +154,8 @@ bool Gesture::x11Event( XEvent* ev_P ) if( gesture.isEmpty()) { kdDebug( 1217 ) << "GESTURE: replay" << endl; - XAllowEvents( qt_xdisplay(), AsyncPointer, CurrentTime ); - XUngrabPointer( qt_xdisplay(), CurrentTime ); + XAllowEvents( tqt_xdisplay(), AsyncPointer, CurrentTime ); + XUngrabPointer( tqt_xdisplay(), CurrentTime ); mouse_replay( true ); return true; } @@ -178,8 +178,8 @@ bool Gesture::x11Event( XEvent* ev_P ) void Gesture::stroke_timeout() { kdDebug( 1217 ) << "GESTURE: timeout" << endl; - XAllowEvents( qt_xdisplay(), AsyncPointer, CurrentTime ); - XUngrabPointer( qt_xdisplay(), CurrentTime ); + XAllowEvents( tqt_xdisplay(), AsyncPointer, CurrentTime ); + XUngrabPointer( tqt_xdisplay(), CurrentTime ); mouse_replay( false ); recording = false; } @@ -215,7 +215,7 @@ void Gesture::grab_mouse( bool grab_P ) for( int i = 0; i < 8; ++i ) - XGrabButton( qt_xdisplay(), button, mods[ i ], qt_xrootwin(), False, + XGrabButton( tqt_xdisplay(), button, mods[ i ], tqt_xrootwin(), False, ButtonPressMask | ButtonReleaseMask | mask[ button ], GrabModeAsync, GrabModeAsync, None, None ); bool err = handler.error( true ); @@ -224,7 +224,7 @@ void Gesture::grab_mouse( bool grab_P ) else { kdDebug( 1217 ) << "Gesture ungrab" << endl; - XUngrabButton( qt_xdisplay(), button, AnyModifier, qt_xrootwin()); + XUngrabButton( tqt_xdisplay(), button, AnyModifier, tqt_xrootwin()); } } |