diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-16 10:04:33 +0900 |
commit | 1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch) | |
tree | f9309bc873f0f7838ee21373c32d5fd388da79d9 /khotkeys/shared/triggers.cpp | |
parent | 55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff) | |
download | tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'khotkeys/shared/triggers.cpp')
-rw-r--r-- | khotkeys/shared/triggers.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/khotkeys/shared/triggers.cpp b/khotkeys/shared/triggers.cpp index 5bd8dbe3e..1b6e903b7 100644 --- a/khotkeys/shared/triggers.cpp +++ b/khotkeys/shared/triggers.cpp @@ -197,13 +197,13 @@ Window_trigger::~Window_trigger() void Window_trigger::init() { kdDebug( 1217 ) << "Window_trigger::init()" << endl; - connect( windows_handler, TQT_SIGNAL( window_added( WId )), this, TQT_SLOT( window_added( WId ))); - connect( windows_handler, TQT_SIGNAL( window_removed( WId )), this, TQT_SLOT( window_removed( WId ))); + connect( windows_handler, TQ_SIGNAL( window_added( WId )), this, TQ_SLOT( window_added( WId ))); + connect( windows_handler, TQ_SIGNAL( window_removed( WId )), this, TQ_SLOT( window_removed( WId ))); if( window_actions & ( WINDOW_ACTIVATES | WINDOW_DEACTIVATES /*| WINDOW_DISAPPEARS*/ )) - connect( windows_handler, TQT_SIGNAL( active_window_changed( WId )), - this, TQT_SLOT( active_window_changed( WId ))); - connect( windows_handler, TQT_SIGNAL( window_changed( WId, unsigned int )), - this, TQT_SLOT( window_changed( WId, unsigned int ))); + connect( windows_handler, TQ_SIGNAL( active_window_changed( WId )), + this, TQ_SLOT( active_window_changed( WId ))); + connect( windows_handler, TQ_SIGNAL( window_changed( WId, unsigned int )), + this, TQ_SLOT( window_changed( WId, unsigned int ))); } void Window_trigger::activate( bool activate_P ) @@ -335,7 +335,7 @@ Gesture_trigger::Gesture_trigger( TDEConfig& cfg_P, Action_data* data_P ) Gesture_trigger::~Gesture_trigger() { - gesture_handler->unregister_handler( this, TQT_SLOT( handle_gesture( const TQString&, WId ))); + gesture_handler->unregister_handler( this, TQ_SLOT( handle_gesture( const TQString&, WId ))); } void Gesture_trigger::cfg_write( TDEConfig& cfg_P ) const @@ -368,9 +368,9 @@ void Gesture_trigger::handle_gesture( const TQString &gesture_P, WId window_P ) void Gesture_trigger::activate( bool activate_P ) { if( activate_P ) - gesture_handler->register_handler( this, TQT_SLOT( handle_gesture( const TQString&, WId ))); + gesture_handler->register_handler( this, TQ_SLOT( handle_gesture( const TQString&, WId ))); else - gesture_handler->unregister_handler( this, TQT_SLOT( handle_gesture( const TQString&, WId ))); + gesture_handler->unregister_handler( this, TQ_SLOT( handle_gesture( const TQString&, WId ))); } |