summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/gestures.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
commitfd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch)
tree9eda848e56fcb862fdfdf479adeccd95b6fe387a /khotkeys/shared/gestures.cpp
parent02f67d0e1355b79b1806746efb0f2f640e57f13d (diff)
downloadtdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz
tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khotkeys/shared/gestures.cpp')
-rw-r--r--khotkeys/shared/gestures.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/khotkeys/shared/gestures.cpp b/khotkeys/shared/gestures.cpp
index 28560e03d..60b1d93b4 100644
--- a/khotkeys/shared/gestures.cpp
+++ b/khotkeys/shared/gestures.cpp
@@ -105,7 +105,7 @@ void Gesture::active_window_changed( WId )
void Gesture::register_handler( TQObject* receiver_P, const char* slot_P )
{
- if( handlers.tqcontains( receiver_P ))
+ if( handlers.contains( receiver_P ))
return;
handlers[ receiver_P ] = true;
connect( this, TQT_SIGNAL( handle_gesture( const TQString&, WId )),
@@ -116,7 +116,7 @@ void Gesture::register_handler( TQObject* receiver_P, const char* slot_P )
void Gesture::unregister_handler( TQObject* receiver_P, const char* slot_P )
{
- if( !handlers.tqcontains( receiver_P ))
+ if( !handlers.contains( receiver_P ))
return;
handlers.remove( receiver_P );
disconnect( this, TQT_SIGNAL( handle_gesture( const TQString&, WId )),
@@ -197,7 +197,7 @@ void Gesture::grab_mouse( bool grab_P )
if( grab_P )
{
KXErrorHandler handler;
- static int tqmask[] = { 0, Button1MotionMask, Button2MotionMask, Button3MotionMask,
+ static int mask[] = { 0, Button1MotionMask, Button2MotionMask, Button3MotionMask,
Button4MotionMask, Button5MotionMask, ButtonMotionMask, ButtonMotionMask,
ButtonMotionMask, ButtonMotionMask };
#define XCapL KKeyNative::modXLock()
@@ -216,7 +216,7 @@ void Gesture::grab_mouse( bool grab_P )
i < 8;
++i )
XGrabButton( qt_xdisplay(), button, mods[ i ], qt_xrootwin(), False,
- ButtonPressMask | ButtonReleaseMask | tqmask[ button ], GrabModeAsync, GrabModeAsync,
+ ButtonPressMask | ButtonReleaseMask | mask[ button ], GrabModeAsync, GrabModeAsync,
None, None );
bool err = handler.error( true );
kdDebug( 1217 ) << "Gesture grab:" << err << endl;