summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/gestures.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /khotkeys/shared/gestures.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khotkeys/shared/gestures.cpp')
-rw-r--r--khotkeys/shared/gestures.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/khotkeys/shared/gestures.cpp b/khotkeys/shared/gestures.cpp
index 11cc44e22..60b1d93b4 100644
--- a/khotkeys/shared/gestures.cpp
+++ b/khotkeys/shared/gestures.cpp
@@ -43,15 +43,15 @@ namespace KHotKeys
Gesture* gesture_handler;
-Gesture::Gesture( bool /*enabled_P*/, QObject* parent_P )
+Gesture::Gesture( bool /*enabled_P*/, TQObject* parent_P )
: _enabled( false ), recording( false ), button( 0 ), exclude( NULL )
{
(void) new DeleteObject( this, parent_P );
assert( gesture_handler == NULL );
gesture_handler = this;
- connect( &nostroke_timer, SIGNAL( timeout()), SLOT( stroke_timeout()));
- connect( windows_handler, SIGNAL( active_window_changed( WId )),
- SLOT( active_window_changed( WId )));
+ connect( &nostroke_timer, TQT_SIGNAL( timeout()), TQT_SLOT( stroke_timeout()));
+ connect( windows_handler, TQT_SIGNAL( active_window_changed( WId )),
+ TQT_SLOT( active_window_changed( WId )));
}
Gesture::~Gesture()
@@ -103,23 +103,23 @@ void Gesture::active_window_changed( WId )
update_grab();
}
-void Gesture::register_handler( QObject* receiver_P, const char* slot_P )
+void Gesture::register_handler( TQObject* receiver_P, const char* slot_P )
{
if( handlers.contains( receiver_P ))
return;
handlers[ receiver_P ] = true;
- connect( this, SIGNAL( handle_gesture( const QString&, WId )),
+ connect( this, TQT_SIGNAL( handle_gesture( const TQString&, WId )),
receiver_P, slot_P );
if( handlers.count() == 1 )
update_grab();
}
-void Gesture::unregister_handler( QObject* receiver_P, const char* slot_P )
+void Gesture::unregister_handler( TQObject* receiver_P, const char* slot_P )
{
if( !handlers.contains( receiver_P ))
return;
handlers.remove( receiver_P );
- disconnect( this, SIGNAL( handle_gesture( const QString&, WId )),
+ disconnect( this, TQT_SIGNAL( handle_gesture( const TQString&, WId )),
receiver_P, slot_P );
if( handlers.count() == 0 )
update_grab();
@@ -150,7 +150,7 @@ bool Gesture::x11Event( XEvent* ev_P )
recording = false;
nostroke_timer.stop();
stroke.record( ev_P->xbutton.x, ev_P->xbutton.y );
- QString gesture( stroke.translate());
+ TQString gesture( stroke.translate());
if( gesture.isEmpty())
{
kdDebug( 1217 ) << "GESTURE: replay" << endl;