summaryrefslogtreecommitdiffstats
path: root/wifi/kcmwifi/ifconfigpage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /wifi/kcmwifi/ifconfigpage.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wifi/kcmwifi/ifconfigpage.cpp')
-rw-r--r--wifi/kcmwifi/ifconfigpage.cpp76
1 files changed, 38 insertions, 38 deletions
diff --git a/wifi/kcmwifi/ifconfigpage.cpp b/wifi/kcmwifi/ifconfigpage.cpp
index 887c817d..8b96b63b 100644
--- a/wifi/kcmwifi/ifconfigpage.cpp
+++ b/wifi/kcmwifi/ifconfigpage.cpp
@@ -23,11 +23,11 @@
#include <klocale.h>
#include <kurlrequester.h>
-#include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqcombobox.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
#include "configcrypto.h"
#include "configpower.h"
@@ -37,41 +37,41 @@
#include <unistd.h>
#include <sys/types.h>
-IfConfigPage::IfConfigPage( int configNum, QWidget *parent, const char *name )
+IfConfigPage::IfConfigPage( int configNum, TQWidget *parent, const char *name )
: IfConfigPageBase( parent, name ),
m_configNum( configNum )
{
- connect( cb_pmEnabled, SIGNAL( toggled( bool ) ), SIGNAL( changed() ) );
- connect( cb_useCrypto, SIGNAL( toggled( bool ) ), SIGNAL( changed() ) );
- connect( le_networkName, SIGNAL( textChanged( const QString & ) ),
- SIGNAL( changed() ) );
- connect( cmb_wifiMode, SIGNAL( activated( int ) ), SIGNAL( changed() ) );
- connect( cmb_speed, SIGNAL( activated( int ) ), SIGNAL( changed() ) );
- connect( cb_runScript, SIGNAL( toggled( bool ) ), SIGNAL( changed() ) );
- connect( url_connectScript, SIGNAL( textChanged( const QString & ) ),
- SIGNAL( changed() ) );
- connect( cb_Autodetect, SIGNAL( toggled( bool ) ), SIGNAL( changed() ) );
- connect( le_interface, SIGNAL( textChanged( const QString & ) ),
- SIGNAL( changed() ) );
-
- connect( pb_setupPower, SIGNAL( clicked() ), SLOT( slotSetupPower() ) );
- connect( pb_setupCrypto, SIGNAL( clicked() ), SLOT( slotSetupCrypto() ) );
-
- connect( cb_useCrypto, SIGNAL( toggled( bool ) ),
- pb_setupCrypto, SLOT( setEnabled( bool ) ) );
- connect( cb_pmEnabled, SIGNAL( toggled( bool ) ),
- pb_setupPower, SLOT( setEnabled( bool ) ) );
- connect( cb_runScript, SIGNAL( toggled( bool ) ),
- lb_connectScript, SLOT( setEnabled( bool ) ) );
- connect( cb_runScript, SIGNAL( toggled( bool ) ),
- lb_connectScript, SLOT( setEnabled( bool ) ) );
- connect( cb_runScript, SIGNAL( toggled( bool ) ),
- lb_connectScript, SLOT( setEnabled( bool ) ) );
- connect( cb_Autodetect, SIGNAL( toggled( bool ) ),
- le_interface, SLOT( setDisabled( bool ) ) );
-
- connect( cb_Autodetect, SIGNAL( toggled( bool ) ),
- this, SLOT ( slotResetInterface( bool ) ) );
+ connect( cb_pmEnabled, TQT_SIGNAL( toggled( bool ) ), TQT_SIGNAL( changed() ) );
+ connect( cb_useCrypto, TQT_SIGNAL( toggled( bool ) ), TQT_SIGNAL( changed() ) );
+ connect( le_networkName, TQT_SIGNAL( textChanged( const TQString & ) ),
+ TQT_SIGNAL( changed() ) );
+ connect( cmb_wifiMode, TQT_SIGNAL( activated( int ) ), TQT_SIGNAL( changed() ) );
+ connect( cmb_speed, TQT_SIGNAL( activated( int ) ), TQT_SIGNAL( changed() ) );
+ connect( cb_runScript, TQT_SIGNAL( toggled( bool ) ), TQT_SIGNAL( changed() ) );
+ connect( url_connectScript, TQT_SIGNAL( textChanged( const TQString & ) ),
+ TQT_SIGNAL( changed() ) );
+ connect( cb_Autodetect, TQT_SIGNAL( toggled( bool ) ), TQT_SIGNAL( changed() ) );
+ connect( le_interface, TQT_SIGNAL( textChanged( const TQString & ) ),
+ TQT_SIGNAL( changed() ) );
+
+ connect( pb_setupPower, TQT_SIGNAL( clicked() ), TQT_SLOT( slotSetupPower() ) );
+ connect( pb_setupCrypto, TQT_SIGNAL( clicked() ), TQT_SLOT( slotSetupCrypto() ) );
+
+ connect( cb_useCrypto, TQT_SIGNAL( toggled( bool ) ),
+ pb_setupCrypto, TQT_SLOT( setEnabled( bool ) ) );
+ connect( cb_pmEnabled, TQT_SIGNAL( toggled( bool ) ),
+ pb_setupPower, TQT_SLOT( setEnabled( bool ) ) );
+ connect( cb_runScript, TQT_SIGNAL( toggled( bool ) ),
+ lb_connectScript, TQT_SLOT( setEnabled( bool ) ) );
+ connect( cb_runScript, TQT_SIGNAL( toggled( bool ) ),
+ lb_connectScript, TQT_SLOT( setEnabled( bool ) ) );
+ connect( cb_runScript, TQT_SIGNAL( toggled( bool ) ),
+ lb_connectScript, TQT_SLOT( setEnabled( bool ) ) );
+ connect( cb_Autodetect, TQT_SIGNAL( toggled( bool ) ),
+ le_interface, TQT_SLOT( setDisabled( bool ) ) );
+
+ connect( cb_Autodetect, TQT_SIGNAL( toggled( bool ) ),
+ this, TQT_SLOT ( slotResetInterface( bool ) ) );
}
void IfConfigPage::slotResetInterface( bool checked )
@@ -120,7 +120,7 @@ void IfConfigPage::save()
IfConfig &ifconfig = config->m_ifConfig[ m_configNum ];
ifconfig.m_networkName = le_networkName->text();
- ifconfig.m_interface = cb_Autodetect->isChecked()? QString::null :
+ ifconfig.m_interface = cb_Autodetect->isChecked()? TQString::null :
le_interface->text();
ifconfig.m_wifiMode = ( IfConfig::WifiMode ) cmb_wifiMode->currentItem();
ifconfig.m_speed = ( IfConfig::Speed ) cmb_speed->currentItem();