diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /khotkeys/kcontrol/windowdef_simple_widget.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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/kcontrol/windowdef_simple_widget.cpp')
-rw-r--r-- | khotkeys/kcontrol/windowdef_simple_widget.cpp | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/khotkeys/kcontrol/windowdef_simple_widget.cpp b/khotkeys/kcontrol/windowdef_simple_widget.cpp index f0749e476..f79d81ea1 100644 --- a/khotkeys/kcontrol/windowdef_simple_widget.cpp +++ b/khotkeys/kcontrol/windowdef_simple_widget.cpp @@ -16,10 +16,10 @@ #include "windowdef_simple_widget.h" -#include <qlineedit.h> -#include <qcombobox.h> -#include <qcheckbox.h> -#include <qpushbutton.h> +#include <tqlineedit.h> +#include <tqcombobox.h> +#include <tqcheckbox.h> +#include <tqpushbutton.h> #include <kdebug.h> #include <windows.h> @@ -31,37 +31,37 @@ namespace KHotKeys { -Windowdef_simple_widget::Windowdef_simple_widget( QWidget* parent_P, const char* name_P ) +Windowdef_simple_widget::Windowdef_simple_widget( TQWidget* parent_P, const char* name_P ) : Windowdef_simple_widget_ui( parent_P, name_P ) { window_title_lineedit->setEnabled( false ); window_class_lineedit->setEnabled( false ); window_role_lineedit->setEnabled( false ); - connect( autodetect_button, SIGNAL( clicked()), SLOT( autodetect_clicked())); + connect( autodetect_button, TQT_SIGNAL( clicked()), TQT_SLOT( autodetect_clicked())); clear_data(); // KHotKeys::Module::changed() - connect( window_title_combo, SIGNAL( activated( int )), - module, SLOT( changed())); - connect( window_title_lineedit, SIGNAL( textChanged( const QString& )), - module, SLOT( changed())); - connect( window_class_combo, SIGNAL( activated( int )), - module, SLOT( changed())); - connect( window_class_lineedit, SIGNAL( textChanged( const QString& )), - module, SLOT( changed())); - connect( window_role_combo, SIGNAL( activated( int )), - module, SLOT( changed())); - connect( window_role_lineedit, SIGNAL( textChanged( const QString& )), - module, SLOT( changed())); - connect( type_normal_checkbox, SIGNAL( clicked()), - module, SLOT( changed())); - connect( type_dialog_checkbox, SIGNAL( clicked()), - module, SLOT( changed())); - connect( type_dock_checkbox, SIGNAL( clicked()), - module, SLOT( changed())); - connect( type_desktop_checkbox, SIGNAL( clicked()), - module, SLOT( changed())); - connect( comment_lineedit, SIGNAL( textChanged( const QString& )), - module, SLOT( 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())); } void Windowdef_simple_widget::clear_data() @@ -142,11 +142,11 @@ void Windowdef_simple_widget::window_title_combo_changed( int item_P ) window_title_lineedit->setEnabled( item_P != 0 ); } -void Windowdef_simple_widget::set_autodetect( QObject* obj_P, const char* slot_P ) +void Windowdef_simple_widget::set_autodetect( TQObject* obj_P, const char* slot_P ) { - disconnect( SIGNAL( autodetect_signal())); + disconnect( TQT_SIGNAL( autodetect_signal())); if( obj_P != NULL ) - connect( this, SIGNAL( autodetect_signal()), obj_P, slot_P ); + connect( this, TQT_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, SLOT( autodetect_window_selected( WId ))); + WindowSelector* sel = new WindowSelector( this, TQT_SLOT( autodetect_window_selected( WId ))); sel->select(); } |