summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol
diff options
context:
space:
mode:
Diffstat (limited to 'khotkeys/kcontrol')
-rw-r--r--khotkeys/kcontrol/action_group_tab.cpp20
-rw-r--r--khotkeys/kcontrol/action_list_widget.cpp20
-rw-r--r--khotkeys/kcontrol/actions_listview_widget.cpp8
-rw-r--r--khotkeys/kcontrol/command_url_widget.cpp4
-rw-r--r--khotkeys/kcontrol/condition_list_widget.cpp22
-rw-r--r--khotkeys/kcontrol/dcop_widget.cpp16
-rw-r--r--khotkeys/kcontrol/general_settings_tab.cpp4
-rw-r--r--khotkeys/kcontrol/general_tab.cpp32
-rw-r--r--khotkeys/kcontrol/gesture_triggers_tab.cpp16
-rw-r--r--khotkeys/kcontrol/gesturerecordpage.cpp8
-rw-r--r--khotkeys/kcontrol/gestures_settings_tab.cpp12
-rw-r--r--khotkeys/kcontrol/kcmkhotkeys.cpp12
-rw-r--r--khotkeys/kcontrol/keyboard_input_widget.cpp20
-rw-r--r--khotkeys/kcontrol/main_buttons_widget.cpp20
-rw-r--r--khotkeys/kcontrol/menuentry_widget.cpp4
-rw-r--r--khotkeys/kcontrol/tab_widget.cpp12
-rw-r--r--khotkeys/kcontrol/triggers_tab.cpp36
-rw-r--r--khotkeys/kcontrol/voice_settings_tab.cpp2
-rw-r--r--khotkeys/kcontrol/voicerecorder.cpp4
-rw-r--r--khotkeys/kcontrol/voicerecordpage.cpp6
-rw-r--r--khotkeys/kcontrol/waiting_widget.cpp4
-rw-r--r--khotkeys/kcontrol/window_trigger_widget.cpp16
-rw-r--r--khotkeys/kcontrol/windowdef_list_widget.cpp26
-rw-r--r--khotkeys/kcontrol/windowdef_simple_widget.cpp52
-rw-r--r--khotkeys/kcontrol/windowselector.cpp2
25 files changed, 189 insertions, 189 deletions
diff --git a/khotkeys/kcontrol/action_group_tab.cpp b/khotkeys/kcontrol/action_group_tab.cpp
index 1bdeffd75..8ba35f323 100644
--- a/khotkeys/kcontrol/action_group_tab.cpp
+++ b/khotkeys/kcontrol/action_group_tab.cpp
@@ -36,18 +36,18 @@ Action_group_tab::Action_group_tab( TQWidget* parent_P , const char* name_P )
{
clear_data();
// KHotKeys::Module::changed()
- connect( action_name_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
- connect( disable_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( comment_multilineedit, TQT_SIGNAL( textChanged()),
- module, TQT_SLOT( changed()));
+ connect( action_name_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
+ connect( disable_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( comment_multilineedit, TQ_SIGNAL( textChanged()),
+ module, TQ_SLOT( changed()));
}
void Action_group_tab::clear_data()
{
- disconnect( action_name_lineedit, TQT_SIGNAL( textChanged( const TQString& )), this,
- TQT_SLOT( action_group_name_changed( const TQString& )));
+ disconnect( action_name_lineedit, TQ_SIGNAL( textChanged( const TQString& )), this,
+ TQ_SLOT( action_group_name_changed( const TQString& )));
action_name_lineedit->clear();
action_name_lineedit->setReadOnly( false );
disable_checkbox->setChecked( false );
@@ -71,8 +71,8 @@ void Action_group_tab::set_data( const Action_data_group* data_P )
else
disable_checkbox->setText( i18n( "&Disable" ));
comment_multilineedit->setText( data_P->comment());
- connect( action_name_lineedit, TQT_SIGNAL( textChanged( const TQString& )), this,
- TQT_SLOT( action_group_name_changed( const TQString& )));
+ connect( action_name_lineedit, TQ_SIGNAL( textChanged( const TQString& )), this,
+ TQ_SLOT( action_group_name_changed( const TQString& )));
system_group = data_P->system_group();
}
diff --git a/khotkeys/kcontrol/action_list_widget.cpp b/khotkeys/kcontrol/action_list_widget.cpp
index d007ab5f5..2f87132d8 100644
--- a/khotkeys/kcontrol/action_list_widget.cpp
+++ b/khotkeys/kcontrol/action_list_widget.cpp
@@ -50,7 +50,7 @@ Action_list_widget::Action_list_widget( TQWidget* parent_P, const char* name_P )
popup->insertItem( i18n( "Keyboard Input..." ), TYPE_KEYBOARD_INPUT_ACTION );
popup->insertItem( i18n( "Activate Window..." ), TYPE_ACTIVATE_WINDOW_ACTION );
popup->insertItem( i18n( "Waiting..." ), TYPE_WAITING_ACTION );
- connect( popup, TQT_SIGNAL( activated( int )), TQT_SLOT( new_selected( int )));
+ connect( popup, TQ_SIGNAL( activated( int )), TQ_SLOT( new_selected( int )));
new_button->setPopup( popup );
actions_listview->header()->hide();
actions_listview->addColumn( "" );
@@ -60,17 +60,17 @@ Action_list_widget::Action_list_widget( TQWidget* parent_P, const char* name_P )
modify_button->setEnabled( false );
delete_button->setEnabled( false );
clear_data();
- connect( actions_listview, TQT_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( modify_pressed() ) );
+ connect( actions_listview, TQ_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( modify_pressed() ) );
// KHotKeys::Module::changed()
- connect(new_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(copy_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(modify_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(delete_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(move_up_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(move_down_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(comment_lineedit, TQT_SIGNAL(textChanged(const TQString&)), module, TQT_SLOT(changed()));
+ connect(new_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(copy_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(modify_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(delete_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(move_up_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(move_down_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(comment_lineedit, TQ_SIGNAL(textChanged(const TQString&)), module, TQ_SLOT(changed()));
}
Action_list_widget::~Action_list_widget()
diff --git a/khotkeys/kcontrol/actions_listview_widget.cpp b/khotkeys/kcontrol/actions_listview_widget.cpp
index 1b6c7a743..9fe4716c2 100644
--- a/khotkeys/kcontrol/actions_listview_widget.cpp
+++ b/khotkeys/kcontrol/actions_listview_widget.cpp
@@ -39,10 +39,10 @@ Actions_listview_widget::Actions_listview_widget( TQWidget* parent_P, const char
actions_listview->header()->hide();
actions_listview->addColumn( "" );
actions_listview->setRootIsDecorated( true ); // CHECKME
- connect( actions_listview, TQT_SIGNAL( current_changed( TQListViewItem* )),
- TQT_SLOT( current_changed( TQListViewItem* )));
- connect( actions_listview, TQT_SIGNAL( moved( TQListViewItem*, TQListViewItem*, TQListViewItem* )),
- TQT_SLOT( item_moved( TQListViewItem*, TQListViewItem*, TQListViewItem* )));
+ connect( actions_listview, TQ_SIGNAL( current_changed( TQListViewItem* )),
+ TQ_SLOT( current_changed( TQListViewItem* )));
+ connect( actions_listview, TQ_SIGNAL( moved( TQListViewItem*, TQListViewItem*, TQListViewItem* )),
+ TQ_SLOT( item_moved( TQListViewItem*, TQListViewItem*, TQListViewItem* )));
// KHotKeys::Module::changed()
}
diff --git a/khotkeys/kcontrol/command_url_widget.cpp b/khotkeys/kcontrol/command_url_widget.cpp
index 133913360..5d06c1a16 100644
--- a/khotkeys/kcontrol/command_url_widget.cpp
+++ b/khotkeys/kcontrol/command_url_widget.cpp
@@ -37,8 +37,8 @@ Command_url_widget::Command_url_widget( TQWidget* parent_P, const char* name_P )
{
clear_data();
// KHotKeys::Module::changed()
- connect( command_url_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
+ connect( command_url_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
}
void Command_url_widget::clear_data()
diff --git a/khotkeys/kcontrol/condition_list_widget.cpp b/khotkeys/kcontrol/condition_list_widget.cpp
index 817602a12..f0a43cb93 100644
--- a/khotkeys/kcontrol/condition_list_widget.cpp
+++ b/khotkeys/kcontrol/condition_list_widget.cpp
@@ -49,10 +49,10 @@ Condition_list_widget::Condition_list_widget( TQWidget* parent_P, const char* na
popup->insertItem( i18n( "Not_condition", "Not" ), TYPE_NOT );
popup->insertItem( i18n( "And_condition", "And" ), TYPE_AND );
popup->insertItem( i18n( "Or_condition", "Or" ), TYPE_OR );
- connect( conditions_listview, TQT_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( modify_pressed() ) );
+ connect( conditions_listview, TQ_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( modify_pressed() ) );
- connect( popup, TQT_SIGNAL( activated( int )), TQT_SLOT( new_selected( int )));
+ connect( popup, TQ_SIGNAL( activated( int )), TQ_SLOT( new_selected( int )));
new_button->setPopup( popup );
conditions_listview->header()->hide();
conditions_listview->addColumn( "" );
@@ -66,14 +66,14 @@ Condition_list_widget::Condition_list_widget( TQWidget* parent_P, const char* na
move_down_button->setEnabled( false );
clear_data();
// KHotKeys::Module::changed()
- connect(new_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(copy_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(modify_button, TQT_SIGNAL(clicked()), module, TQT_SLOT( changed()));
- connect(delete_button, TQT_SIGNAL(clicked()), module, TQT_SLOT( changed()));
- connect(move_up_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(move_down_button, TQT_SIGNAL(clicked()), module, TQT_SLOT(changed()));
- connect(comment_lineedit, TQT_SIGNAL(textChanged(const TQString&)),
- module, TQT_SLOT(changed()));
+ connect(new_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(copy_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(modify_button, TQ_SIGNAL(clicked()), module, TQ_SLOT( changed()));
+ connect(delete_button, TQ_SIGNAL(clicked()), module, TQ_SLOT( changed()));
+ connect(move_up_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(move_down_button, TQ_SIGNAL(clicked()), module, TQ_SLOT(changed()));
+ connect(comment_lineedit, TQ_SIGNAL(textChanged(const TQString&)),
+ module, TQ_SLOT(changed()));
}
Condition_list_widget::~Condition_list_widget()
diff --git a/khotkeys/kcontrol/dcop_widget.cpp b/khotkeys/kcontrol/dcop_widget.cpp
index bee149860..d986e5a51 100644
--- a/khotkeys/kcontrol/dcop_widget.cpp
+++ b/khotkeys/kcontrol/dcop_widget.cpp
@@ -36,14 +36,14 @@ Dcop_widget::Dcop_widget( TQWidget* parent_P, const char* name_P )
clear_data();
try_button->setText( i18n( "to try", "&Try" )); // Qt designer can't do this
// KHotKeys::Module::changed()
- connect( remote_app_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
- connect( remote_object_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
- connect( called_function_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
- connect( arguments_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
+ connect( remote_app_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
+ connect( remote_object_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
+ connect( called_function_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
+ connect( arguments_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
}
void Dcop_widget::clear_data()
diff --git a/khotkeys/kcontrol/general_settings_tab.cpp b/khotkeys/kcontrol/general_settings_tab.cpp
index cf2337446..a0e1e84c7 100644
--- a/khotkeys/kcontrol/general_settings_tab.cpp
+++ b/khotkeys/kcontrol/general_settings_tab.cpp
@@ -27,8 +27,8 @@ General_settings_tab::General_settings_tab( TQWidget* parent_P, const char* name
: General_settings_tab_ui( parent_P, name_P )
{
// KHotKeys::Module::changed()
- connect( disable_daemon_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
+ connect( disable_daemon_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
}
void General_settings_tab::import_clicked()
diff --git a/khotkeys/kcontrol/general_tab.cpp b/khotkeys/kcontrol/general_tab.cpp
index 1cd98d461..21ca6f952 100644
--- a/khotkeys/kcontrol/general_tab.cpp
+++ b/khotkeys/kcontrol/general_tab.cpp
@@ -73,22 +73,22 @@ General_tab::General_tab( TQWidget* parent_P, const char* name_P )
}
clear_data();
// KHotKeys::Module::changed()
- connect( action_name_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
- connect( disable_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( comment_multilineedit, TQT_SIGNAL( textChanged()),
- module, TQT_SLOT( changed()));
- connect( action_type_combo, TQT_SIGNAL( activated( int )),
- module, TQT_SLOT( changed()));
+ connect( action_name_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
+ connect( disable_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( comment_multilineedit, TQ_SIGNAL( textChanged()),
+ module, TQ_SLOT( changed()));
+ connect( action_type_combo, TQ_SIGNAL( activated( int )),
+ module, TQ_SLOT( changed()));
}
void General_tab::clear_data()
{
- disconnect( action_name_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- this, TQT_SLOT( action_name_changed( const TQString& )));
- disconnect( action_type_combo, TQT_SIGNAL( activated( int )),
- this, TQT_SIGNAL( action_type_changed( int ))); // CHECKME neodpoji to sloty od nej ?
+ disconnect( action_name_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ this, TQ_SLOT( action_name_changed( const TQString& )));
+ disconnect( action_type_combo, TQ_SIGNAL( activated( int )),
+ this, TQ_SIGNAL( action_type_changed( int ))); // CHECKME neodpoji to sloty od nej ?
action_name_lineedit->clear();
disable_checkbox->setChecked( false );
disable_checkbox->setText( i18n( "&Disable" ));
@@ -113,10 +113,10 @@ void General_tab::set_data( const Action_data* data_P )
comment_multilineedit->setText( data_P->comment());
action_type_combo->setCurrentItem( Tab_widget::type( data_P ));
// module->set_action_type( data_P->type());
- connect( action_name_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- TQT_SLOT( action_name_changed( const TQString& )));
- connect( action_type_combo, TQT_SIGNAL( activated( int )),
- TQT_SIGNAL( action_type_changed( int )));
+ connect( action_name_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ TQ_SLOT( action_name_changed( const TQString& )));
+ connect( action_type_combo, TQ_SIGNAL( activated( int )),
+ TQ_SIGNAL( action_type_changed( int )));
}
void General_tab::get_data( TQString& name_O, TQString& comment_O, bool& enabled_O )
diff --git a/khotkeys/kcontrol/gesture_triggers_tab.cpp b/khotkeys/kcontrol/gesture_triggers_tab.cpp
index b00f60963..52c41cd9e 100644
--- a/khotkeys/kcontrol/gesture_triggers_tab.cpp
+++ b/khotkeys/kcontrol/gesture_triggers_tab.cpp
@@ -35,12 +35,12 @@ Gesture_triggers_tab::Gesture_triggers_tab( TQWidget* parent_P, const char* name
{
clear_data();
// KHotKeys::Module::changed()
- connect( gesture_edit_button1, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( gesture_edit_button2, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( gesture_edit_button3, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
+ connect( gesture_edit_button1, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( gesture_edit_button2, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( gesture_edit_button3, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
}
void Gesture_triggers_tab::clear_data()
@@ -142,8 +142,8 @@ Gesture_edit_dialog::Gesture_edit_dialog( const TQString& gesture_P )
_page = new GestureRecordPage( _gesture,
this, "GestureRecordPage");
-// connect(_page, TQT_SIGNAL(gestureRecorded(bool)), // allow clearing the gesture
-// this, TQT_SLOT(enableButtonOK(bool)));
+// connect(_page, TQ_SIGNAL(gestureRecorded(bool)), // allow clearing the gesture
+// this, TQ_SLOT(enableButtonOK(bool)));
setMainWidget( _page );
}
diff --git a/khotkeys/kcontrol/gesturerecordpage.cpp b/khotkeys/kcontrol/gesturerecordpage.cpp
index e9e768bb0..bc254a878 100644
--- a/khotkeys/kcontrol/gesturerecordpage.cpp
+++ b/khotkeys/kcontrol/gesturerecordpage.cpp
@@ -49,8 +49,8 @@ GestureRecordPage::GestureRecordPage(const TQString &gesture,
_recorder = new GestureRecorder(this, "recorder");
_recorder->setMinimumHeight(150);
setStretchFactor(_recorder, 1);
- connect(_recorder, TQT_SIGNAL(recorded(const TQString &)),
- this, TQT_SLOT(slotRecorded(const TQString &)));
+ connect(_recorder, TQ_SIGNAL(recorded(const TQString &)),
+ this, TQ_SLOT(slotRecorded(const TQString &)));
TQHBox *hBox = new TQHBox(this, "hbox");
@@ -62,8 +62,8 @@ GestureRecordPage::GestureRecordPage(const TQString &gesture,
hBox->setStretchFactor(spacer, 1);
_resetButton = new TQPushButton(i18n("&Reset"), hBox, "resetButton");
- connect(_resetButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotResetClicked()));
+ connect(_resetButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotResetClicked()));
diff --git a/khotkeys/kcontrol/gestures_settings_tab.cpp b/khotkeys/kcontrol/gestures_settings_tab.cpp
index 8585fedbc..200fa6b97 100644
--- a/khotkeys/kcontrol/gestures_settings_tab.cpp
+++ b/khotkeys/kcontrol/gestures_settings_tab.cpp
@@ -39,12 +39,12 @@ Gestures_settings_tab::Gestures_settings_tab( TQWidget* parent_P, const char* na
mouse_button_combo->insertItem( i18n( "Button 8 (if available)" ), 6 );
mouse_button_combo->insertItem( i18n( "Button 9 (if available)" ), 7 );
// KHotKeys::Module::changed()
- connect( mouse_gestures_globally, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( mouse_button_combo, TQT_SIGNAL( activated( int )),
- module, TQT_SLOT( changed()));
- connect( timeout_input, TQT_SIGNAL( valueChanged( int )),
- module, TQT_SLOT( changed()));
+ connect( mouse_gestures_globally, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( mouse_button_combo, TQ_SIGNAL( activated( int )),
+ module, TQ_SLOT( changed()));
+ connect( timeout_input, TQ_SIGNAL( valueChanged( int )),
+ module, TQ_SLOT( changed()));
}
void Gestures_settings_tab::read_data()
diff --git a/khotkeys/kcontrol/kcmkhotkeys.cpp b/khotkeys/kcontrol/kcmkhotkeys.cpp
index cd394a6e6..48349a65c 100644
--- a/khotkeys/kcontrol/kcmkhotkeys.cpp
+++ b/khotkeys/kcontrol/kcmkhotkeys.cpp
@@ -78,12 +78,12 @@ Module::Module( TQWidget* parent_P, const char* )
vbox->addWidget( splt );
buttons_widget = new Main_buttons_widget( this );
vbox->addWidget( buttons_widget );
- connect( actions_listview_widget, TQT_SIGNAL( current_action_changed()),
- TQT_SLOT( listview_current_action_changed()));
- connect( buttons_widget, TQT_SIGNAL( new_action_pressed()), TQT_SLOT( new_action()));
- connect( buttons_widget, TQT_SIGNAL( new_action_group_pressed()), TQT_SLOT( new_action_group()));
- connect( buttons_widget, TQT_SIGNAL( delete_action_pressed()), TQT_SLOT( delete_action()));
- connect( buttons_widget, TQT_SIGNAL( global_settings_pressed()), TQT_SLOT( global_settings()));
+ connect( actions_listview_widget, TQ_SIGNAL( current_action_changed()),
+ TQ_SLOT( listview_current_action_changed()));
+ connect( buttons_widget, TQ_SIGNAL( new_action_pressed()), TQ_SLOT( new_action()));
+ connect( buttons_widget, TQ_SIGNAL( new_action_group_pressed()), TQ_SLOT( new_action_group()));
+ connect( buttons_widget, TQ_SIGNAL( delete_action_pressed()), TQ_SLOT( delete_action()));
+ connect( buttons_widget, TQ_SIGNAL( global_settings_pressed()), TQ_SLOT( global_settings()));
// listview_current_action_changed(); // init
TDEAboutData* about = new TDEAboutData("kcmkhotkeys", I18N_NOOP("KHotKeys"), KHOTKEYS_VERSION,
diff --git a/khotkeys/kcontrol/keyboard_input_widget.cpp b/khotkeys/kcontrol/keyboard_input_widget.cpp
index 4d5727482..a518fa02d 100644
--- a/khotkeys/kcontrol/keyboard_input_widget.cpp
+++ b/khotkeys/kcontrol/keyboard_input_widget.cpp
@@ -36,16 +36,16 @@ Keyboard_input_widget::Keyboard_input_widget( TQWidget* parent_P, const char* na
{
clear_data();
// KHotKeys::Module::changed()
- connect( action_window_radio, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( active_window_radio, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( specific_window_radio, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( keyboard_input_multilineedit, TQT_SIGNAL( textChanged()),
- module, TQT_SLOT( changed()));
- connect( modify_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
+ connect( action_window_radio, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( active_window_radio, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( specific_window_radio, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( keyboard_input_multilineedit, TQ_SIGNAL( textChanged()),
+ module, TQ_SLOT( changed()));
+ connect( modify_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
}
void Keyboard_input_widget::clear_data()
diff --git a/khotkeys/kcontrol/main_buttons_widget.cpp b/khotkeys/kcontrol/main_buttons_widget.cpp
index 3532cc13f..4a1e258b5 100644
--- a/khotkeys/kcontrol/main_buttons_widget.cpp
+++ b/khotkeys/kcontrol/main_buttons_widget.cpp
@@ -26,18 +26,18 @@ namespace KHotKeys
Main_buttons_widget::Main_buttons_widget( TQWidget* parent_P, const char* name_P )
: Main_buttons_widget_ui( parent_P, name_P )
{
- connect( new_action_button, TQT_SIGNAL( clicked()), TQT_SIGNAL( new_action_pressed()));
- connect( new_action_group_button, TQT_SIGNAL( clicked()), TQT_SIGNAL( new_action_group_pressed()));
- connect( delete_action_button, TQT_SIGNAL( clicked()), TQT_SIGNAL( delete_action_pressed()));
- connect( global_settings_button, TQT_SIGNAL( clicked()), TQT_SIGNAL( global_settings_pressed()));
+ connect( new_action_button, TQ_SIGNAL( clicked()), TQ_SIGNAL( new_action_pressed()));
+ connect( new_action_group_button, TQ_SIGNAL( clicked()), TQ_SIGNAL( new_action_group_pressed()));
+ connect( delete_action_button, TQ_SIGNAL( clicked()), TQ_SIGNAL( delete_action_pressed()));
+ connect( global_settings_button, TQ_SIGNAL( clicked()), TQ_SIGNAL( global_settings_pressed()));
enable_delete( false );
// KHotKeys::Module::changed()
- connect( new_action_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( new_action_group_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( delete_action_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
+ connect( new_action_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( new_action_group_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( delete_action_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
setMaximumHeight( sizeHint().height()); // it gets too high and I have no idea why
}
diff --git a/khotkeys/kcontrol/menuentry_widget.cpp b/khotkeys/kcontrol/menuentry_widget.cpp
index 9b313d20d..8fac287b8 100644
--- a/khotkeys/kcontrol/menuentry_widget.cpp
+++ b/khotkeys/kcontrol/menuentry_widget.cpp
@@ -37,8 +37,8 @@ Menuentry_widget::Menuentry_widget( TQWidget* parent_P, const char* name_P )
{
clear_data();
// KHotKeys::Module::changed()
- connect( menuentry_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
+ connect( menuentry_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
}
void Menuentry_widget::clear_data()
diff --git a/khotkeys/kcontrol/tab_widget.cpp b/khotkeys/kcontrol/tab_widget.cpp
index d3ca4afbe..236d755d2 100644
--- a/khotkeys/kcontrol/tab_widget.cpp
+++ b/khotkeys/kcontrol/tab_widget.cpp
@@ -59,8 +59,8 @@ Tab_widget::Tab_widget( TQWidget* parent_P, const char* name_P )
pages[ TAB_GESTURES_SETTINGS ] = new Gestures_settings_tab;
General_tab* general_tab;
pages[ TAB_GENERAL ] = general_tab = new General_tab;
- connect( general_tab, TQT_SIGNAL( action_type_changed( int )),
- TQT_SLOT( set_action_type_slot( int )));
+ connect( general_tab, TQ_SIGNAL( action_type_changed( int )),
+ TQ_SLOT( set_action_type_slot( int )));
pages[ TAB_GROUP_GENERAL ] = new Action_group_tab;
pages[ TAB_CONDITIONS ] = new Condition_list_tab;
pages[ TAB_ACTIONS ] = new Action_list_tab;
@@ -76,7 +76,7 @@ Tab_widget::Tab_widget( TQWidget* parent_P, const char* name_P )
for( tab_pos_t i = TAB_FIRST;
i < TAB_END;
++i )
- connect( this, TQT_SIGNAL( clear_pages_signal()), pages[ i ], TQT_SLOT( clear_data()));
+ connect( this, TQ_SIGNAL( clear_pages_signal()), pages[ i ], TQ_SLOT( clear_data()));
#ifdef HAVE_ARTS
if( haveArts())
show_pages(( TAB_INFO, TAB_GENERAL_SETTINGS, TAB_GESTURES_SETTINGS, TAB_VOICE_SETTINGS ));
@@ -441,18 +441,18 @@ void Tab_widget::show_pages( const Pages_set& pages_P )
{
removePage( pages[ i ] );
if( pages_P.is_set( i )) // don't clear page contents if it stays visible
- disconnect( this, TQT_SIGNAL( clear_pages_signal()), pages[ i ], TQT_SLOT( clear_data()));
+ disconnect( this, TQ_SIGNAL( clear_pages_signal()), pages[ i ], TQ_SLOT( clear_data()));
}
clear_pages();
// reconnect all pages to this signal
- disconnect( this, TQT_SIGNAL( clear_pages_signal()), NULL, NULL );
+ disconnect( this, TQ_SIGNAL( clear_pages_signal()), NULL, NULL );
for( tab_pos_t i = TAB_FIRST;
i < TAB_END;
++i )
{
if( pages_P.is_set( i ))
addTab( pages[ i ], i18n( tab_labels[ i ] ));
- connect( this, TQT_SIGNAL( clear_pages_signal()), pages[ i ], TQT_SLOT( clear_data()));
+ connect( this, TQ_SIGNAL( clear_pages_signal()), pages[ i ], TQ_SLOT( clear_data()));
}
show();
}
diff --git a/khotkeys/kcontrol/triggers_tab.cpp b/khotkeys/kcontrol/triggers_tab.cpp
index 947a148b8..d3773c3f3 100644
--- a/khotkeys/kcontrol/triggers_tab.cpp
+++ b/khotkeys/kcontrol/triggers_tab.cpp
@@ -55,9 +55,9 @@ Triggers_tab::Triggers_tab( TQWidget* parent_P, const char* name_P )
if( haveArts())
popup->insertItem( i18n( "Voice Trigger..." ), TYPE_VOICE_TRIGGER );
#endif
- connect( popup, TQT_SIGNAL( activated( int )), TQT_SLOT( new_selected( int )));
- connect( triggers_listview, TQT_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( modify_pressed() ) );
+ connect( popup, TQ_SIGNAL( activated( int )), TQ_SLOT( new_selected( int )));
+ connect( triggers_listview, TQ_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( modify_pressed() ) );
new_button->setPopup( popup );
copy_button->setEnabled( false );
@@ -69,16 +69,16 @@ Triggers_tab::Triggers_tab( TQWidget* parent_P, const char* name_P )
triggers_listview->setForceSelect( true );
clear_data();
// KHotKeys::Module::changed()
- connect( new_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( copy_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( modify_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( delete_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( comment_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
+ connect( new_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( copy_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( modify_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( delete_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( comment_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
}
Triggers_tab::~Triggers_tab()
@@ -230,8 +230,8 @@ Shortcut_trigger_widget::Shortcut_trigger_widget( TQWidget* parent_P, const char
lay->addWidget( bt, 0 , TQt::AlignHCenter );
lay->addStretch();
clear_data();
- connect( bt, TQT_SIGNAL( capturedShortcut( const TDEShortcut& )),
- this, TQT_SLOT( capturedShortcut( const TDEShortcut& )));
+ connect( bt, TQ_SIGNAL( capturedShortcut( const TDEShortcut& )),
+ this, TQ_SLOT( capturedShortcut( const TDEShortcut& )));
}
void Shortcut_trigger_widget::clear_data()
@@ -320,8 +320,8 @@ Gesture_trigger_dialog::Gesture_trigger_dialog( Gesture_trigger* trigger_P )
_page = new GestureRecordPage( _trigger->gesturecode(),
this, "GestureRecordPage");
- connect(_page, TQT_SIGNAL(gestureRecorded(bool)),
- this, TQT_SLOT(enableButtonOK(bool)));
+ connect(_page, TQ_SIGNAL(gestureRecorded(bool)),
+ this, TQ_SLOT(enableButtonOK(bool)));
setMainWidget( _page );
}
@@ -343,7 +343,7 @@ _trigger( trigger_P ), _page( NULL )
{
_page = new VoiceRecordPage( _trigger ? _trigger->voicecode() : TQString::null , this, "VoiceRecordPage");
- connect(_page, TQT_SIGNAL(voiceRecorded(bool)), this, TQT_SLOT(enableButtonOK(bool)));
+ connect(_page, TQ_SIGNAL(voiceRecorded(bool)), this, TQ_SLOT(enableButtonOK(bool)));
setMainWidget( _page );
}
diff --git a/khotkeys/kcontrol/voice_settings_tab.cpp b/khotkeys/kcontrol/voice_settings_tab.cpp
index 1d97d69ab..952cc0dbe 100644
--- a/khotkeys/kcontrol/voice_settings_tab.cpp
+++ b/khotkeys/kcontrol/voice_settings_tab.cpp
@@ -26,7 +26,7 @@ namespace KHotKeys
Voice_settings_tab::Voice_settings_tab( TQWidget* parent_P, const char* name_P )
: Voice_settings_tab_ui( parent_P, name_P )
{
- connect( keyButton , TQT_SIGNAL(capturedShortcut (const TDEShortcut &)) , this, TQT_SLOT(slotCapturedKey( const TDEShortcut& )));
+ connect( keyButton , TQ_SIGNAL(capturedShortcut (const TDEShortcut &)) , this, TQ_SLOT(slotCapturedKey( const TDEShortcut& )));
}
void Voice_settings_tab::read_data()
diff --git a/khotkeys/kcontrol/voicerecorder.cpp b/khotkeys/kcontrol/voicerecorder.cpp
index 763e096e8..9af645045 100644
--- a/khotkeys/kcontrol/voicerecorder.cpp
+++ b/khotkeys/kcontrol/voicerecorder.cpp
@@ -52,7 +52,7 @@ VoiceRecorder::VoiceRecorder(const Sound& sound_P, const TQString &voiceId, TQWi
buttonPlay->setEnabled(sound_P.size() > 50);
buttonStop->setEnabled(false);
- connect (_recorder , TQT_SIGNAL(recorded(const Sound& )) , this , TQT_SLOT(slotSoundRecorded(const Sound& ) ));
+ connect (_recorder , TQ_SIGNAL(recorded(const Sound& )) , this , TQ_SLOT(slotSoundRecorded(const Sound& ) ));
//if(voiceid_P.isEmpty())
emit recorded(false);
@@ -168,7 +168,7 @@ bool VoiceRecorder::drawSound()
uint lx=0;
uint ly=height/2;
- /*** DRAW THE TQT_SIGNAL ******/
+ /*** DRAW THE TQ_SIGNAL ******/
for(uint f=1; f<length; f++)
{
uint nx=f*width/length;
diff --git a/khotkeys/kcontrol/voicerecordpage.cpp b/khotkeys/kcontrol/voicerecordpage.cpp
index 1c7f8c938..c450abe44 100644
--- a/khotkeys/kcontrol/voicerecordpage.cpp
+++ b/khotkeys/kcontrol/voicerecordpage.cpp
@@ -59,9 +59,9 @@ VoiceRecordPage::VoiceRecordPage( const TQString &voiceid_P, TQWidget *parent, c
setStretchFactor(spacer, 1);
- connect(_recorder1, TQT_SIGNAL(recorded(bool)) , this, TQT_SLOT(slotChanged()));
- connect(_recorder2, TQT_SIGNAL(recorded(bool)) , this, TQT_SLOT(slotChanged()));
- connect(_lineEdit , TQT_SIGNAL( textChanged (const TQString&)) , this , TQT_SLOT(slotChanged()));
+ connect(_recorder1, TQ_SIGNAL(recorded(bool)) , this, TQ_SLOT(slotChanged()));
+ connect(_recorder2, TQ_SIGNAL(recorded(bool)) , this, TQ_SLOT(slotChanged()));
+ connect(_lineEdit , TQ_SIGNAL( textChanged (const TQString&)) , this , TQ_SLOT(slotChanged()));
}
diff --git a/khotkeys/kcontrol/waiting_widget.cpp b/khotkeys/kcontrol/waiting_widget.cpp
index 6f1c0c657..135261e30 100644
--- a/khotkeys/kcontrol/waiting_widget.cpp
+++ b/khotkeys/kcontrol/waiting_widget.cpp
@@ -33,8 +33,8 @@ Waiting_widget::Waiting_widget( TQWidget* parent_P, const char* name_P )
: Waiting_widget_ui( parent_P, name_P )
{
// KHotKeys::Module::changed()
- connect(waiting_spinbox, TQT_SIGNAL(valueChanged(int)),
- module, TQT_SLOT(changed()));
+ connect(waiting_spinbox, TQ_SIGNAL(valueChanged(int)),
+ module, TQ_SLOT(changed()));
}
void Waiting_widget::set_data( const Waiting_action* data_P )
diff --git a/khotkeys/kcontrol/window_trigger_widget.cpp b/khotkeys/kcontrol/window_trigger_widget.cpp
index c897cf14a..ad8871504 100644
--- a/khotkeys/kcontrol/window_trigger_widget.cpp
+++ b/khotkeys/kcontrol/window_trigger_widget.cpp
@@ -33,14 +33,14 @@ Window_trigger_widget::Window_trigger_widget( TQWidget* parent_P, const char* na
{
clear_data();
// KHotKeys::Module::changed()
- connect( window_appears_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( window_disappears_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( window_activates_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( window_deactivates_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
+ connect( window_appears_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( window_disappears_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( window_activates_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( window_deactivates_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
}
void Window_trigger_widget::clear_data()
diff --git a/khotkeys/kcontrol/windowdef_list_widget.cpp b/khotkeys/kcontrol/windowdef_list_widget.cpp
index dc16d780f..b36e46e0d 100644
--- a/khotkeys/kcontrol/windowdef_list_widget.cpp
+++ b/khotkeys/kcontrol/windowdef_list_widget.cpp
@@ -43,10 +43,10 @@ Windowdef_list_widget::Windowdef_list_widget( TQWidget* parent_P, const char* na
{
TQPopupMenu* popup = new TQPopupMenu; // CHECKME looks like setting parent doesn't work
popup->insertItem( i18n( "Simple Window..." ), TYPE_WINDOWDEF_SIMPLE );
- connect( popup, TQT_SIGNAL( activated( int )), TQT_SLOT( new_selected( int )));
+ connect( popup, TQ_SIGNAL( activated( int )), TQ_SLOT( new_selected( int )));
- connect( windows_listview, TQT_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( modify_pressed() ) );
+ connect( windows_listview, TQ_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( modify_pressed() ) );
new_button->setPopup( popup );
windows_listview->header()->hide();
windows_listview->addColumn( "" );
@@ -57,16 +57,16 @@ Windowdef_list_widget::Windowdef_list_widget( TQWidget* parent_P, const char* na
delete_button->setEnabled( false );
clear_data();
// KHotKeys::Module::changed()
- connect( new_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( copy_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( modify_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( delete_button, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( comment_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
+ connect( new_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( copy_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( modify_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( delete_button, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( comment_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
}
Windowdef_list_widget::~Windowdef_list_widget()
diff --git a/khotkeys/kcontrol/windowdef_simple_widget.cpp b/khotkeys/kcontrol/windowdef_simple_widget.cpp
index f79d81ea1..381287166 100644
--- a/khotkeys/kcontrol/windowdef_simple_widget.cpp
+++ b/khotkeys/kcontrol/windowdef_simple_widget.cpp
@@ -37,31 +37,31 @@ Windowdef_simple_widget::Windowdef_simple_widget( TQWidget* parent_P, const char
window_title_lineedit->setEnabled( false );
window_class_lineedit->setEnabled( false );
window_role_lineedit->setEnabled( false );
- connect( autodetect_button, TQT_SIGNAL( clicked()), TQT_SLOT( autodetect_clicked()));
+ connect( autodetect_button, TQ_SIGNAL( clicked()), TQ_SLOT( autodetect_clicked()));
clear_data();
// KHotKeys::Module::changed()
- connect( window_title_combo, TQT_SIGNAL( activated( int )),
- module, TQT_SLOT( changed()));
- connect( window_title_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
- connect( window_class_combo, TQT_SIGNAL( activated( int )),
- module, TQT_SLOT( changed()));
- connect( window_class_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
- connect( window_role_combo, TQT_SIGNAL( activated( int )),
- module, TQT_SLOT( changed()));
- connect( window_role_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
- connect( type_normal_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( type_dialog_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( type_dock_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( type_desktop_checkbox, TQT_SIGNAL( clicked()),
- module, TQT_SLOT( changed()));
- connect( comment_lineedit, TQT_SIGNAL( textChanged( const TQString& )),
- module, TQT_SLOT( changed()));
+ connect( window_title_combo, TQ_SIGNAL( activated( int )),
+ module, TQ_SLOT( changed()));
+ connect( window_title_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
+ connect( window_class_combo, TQ_SIGNAL( activated( int )),
+ module, TQ_SLOT( changed()));
+ connect( window_class_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
+ connect( window_role_combo, TQ_SIGNAL( activated( int )),
+ module, TQ_SLOT( changed()));
+ connect( window_role_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
+ connect( type_normal_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( type_dialog_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( type_dock_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( type_desktop_checkbox, TQ_SIGNAL( clicked()),
+ module, TQ_SLOT( changed()));
+ connect( comment_lineedit, TQ_SIGNAL( textChanged( const TQString& )),
+ module, TQ_SLOT( changed()));
}
void Windowdef_simple_widget::clear_data()
@@ -144,9 +144,9 @@ void Windowdef_simple_widget::window_title_combo_changed( int item_P )
void Windowdef_simple_widget::set_autodetect( TQObject* obj_P, const char* slot_P )
{
- disconnect( TQT_SIGNAL( autodetect_signal()));
+ disconnect( TQ_SIGNAL( autodetect_signal()));
if( obj_P != NULL )
- connect( this, TQT_SIGNAL( autodetect_signal()), obj_P, slot_P );
+ connect( this, TQ_SIGNAL( autodetect_signal()), obj_P, slot_P );
}
void Windowdef_simple_widget::autodetect_clicked()
@@ -157,7 +157,7 @@ void Windowdef_simple_widget::autodetect_clicked()
void Windowdef_simple_widget::autodetect()
{
- WindowSelector* sel = new WindowSelector( this, TQT_SLOT( autodetect_window_selected( WId )));
+ WindowSelector* sel = new WindowSelector( this, TQ_SLOT( autodetect_window_selected( WId )));
sel->select();
}
diff --git a/khotkeys/kcontrol/windowselector.cpp b/khotkeys/kcontrol/windowselector.cpp
index 3202c2241..d5a1f4859 100644
--- a/khotkeys/kcontrol/windowselector.cpp
+++ b/khotkeys/kcontrol/windowselector.cpp
@@ -29,7 +29,7 @@ namespace KHotKeys
WindowSelector::WindowSelector( TQObject* receiver_P, const char* slot_P )
{
- connect( this, TQT_SIGNAL( selected_signal( WId )), receiver_P, slot_P );
+ connect( this, TQ_SIGNAL( selected_signal( WId )), receiver_P, slot_P );
}
void WindowSelector::select()