summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol/action_group_tab.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/kcontrol/action_group_tab.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/kcontrol/action_group_tab.cpp')
-rw-r--r--khotkeys/kcontrol/action_group_tab.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/khotkeys/kcontrol/action_group_tab.cpp b/khotkeys/kcontrol/action_group_tab.cpp
index fbe681555..8a297b933 100644
--- a/khotkeys/kcontrol/action_group_tab.cpp
+++ b/khotkeys/kcontrol/action_group_tab.cpp
@@ -16,8 +16,8 @@
#include "action_group_tab.h"
-#include <qlineedit.h>
-#include <qcheckbox.h>
+#include <tqlineedit.h>
+#include <tqcheckbox.h>
#include <klocale.h>
#include <kmessagebox.h>
@@ -31,23 +31,23 @@
namespace KHotKeys
{
-Action_group_tab::Action_group_tab( QWidget* parent_P , const char* name_P )
+Action_group_tab::Action_group_tab( TQWidget* parent_P , const char* name_P )
: Action_group_tab_ui( parent_P, name_P )
{
clear_data();
// KHotKeys::Module::changed()
- connect( action_name_lineedit, SIGNAL( textChanged( const QString& )),
- module, SLOT( changed()));
- connect( disable_checkbox, SIGNAL( clicked()),
- module, SLOT( changed()));
- connect( comment_multilineedit, SIGNAL( textChanged()),
- module, SLOT( 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()));
}
void Action_group_tab::clear_data()
{
- disconnect( action_name_lineedit, SIGNAL( textChanged( const QString& )), this,
- SLOT( action_group_name_changed( const QString& )));
+ disconnect( action_name_lineedit, TQT_SIGNAL( textChanged( const TQString& )), this,
+ TQT_SLOT( action_group_name_changed( const TQString& )));
action_name_lineedit->clear();
action_name_lineedit->setReadOnly( false );
disable_checkbox->setChecked( false );
@@ -71,20 +71,20 @@ 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, SIGNAL( textChanged( const QString& )), this,
- SLOT( action_group_name_changed( const QString& )));
+ connect( action_name_lineedit, TQT_SIGNAL( textChanged( const TQString& )), this,
+ TQT_SLOT( action_group_name_changed( const TQString& )));
system_group = data_P->system_group();
}
Action_data_group* Action_group_tab::get_data( Action_data_group* parent_P,
Condition_list* conditions_P ) const
{
- QString name = action_name_lineedit->text();
+ TQString name = action_name_lineedit->text();
return new Action_data_group( parent_P, name, comment_multilineedit->text(), conditions_P,
system_group, !disable_checkbox->isChecked());
}
-void Action_group_tab::action_group_name_changed( const QString& name_P )
+void Action_group_tab::action_group_name_changed( const TQString& name_P )
{
module->action_name_changed( name_P );
}