summaryrefslogtreecommitdiffstats
path: root/wifi/kcmwifi
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /wifi/kcmwifi
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'wifi/kcmwifi')
-rw-r--r--wifi/kcmwifi/ifconfigpage.cpp62
-rw-r--r--wifi/kcmwifi/kcmwifi.cpp10
-rw-r--r--wifi/kcmwifi/mainconfig.cpp10
-rw-r--r--wifi/kcmwifi/wificonfig.cpp4
4 files changed, 43 insertions, 43 deletions
diff --git a/wifi/kcmwifi/ifconfigpage.cpp b/wifi/kcmwifi/ifconfigpage.cpp
index 1b80bb13..24cc90bb 100644
--- a/wifi/kcmwifi/ifconfigpage.cpp
+++ b/wifi/kcmwifi/ifconfigpage.cpp
@@ -41,37 +41,37 @@ IfConfigPage::IfConfigPage( int configNum, TQWidget *parent, const char *name )
: IfConfigPageBase( parent, name ),
m_configNum( configNum )
{
- 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 ) ) );
+ connect( cb_pmEnabled, TQ_SIGNAL( toggled( bool ) ), TQ_SIGNAL( changed() ) );
+ connect( cb_useCrypto, TQ_SIGNAL( toggled( bool ) ), TQ_SIGNAL( changed() ) );
+ connect( le_networkName, TQ_SIGNAL( textChanged( const TQString & ) ),
+ TQ_SIGNAL( changed() ) );
+ connect( cmb_wifiMode, TQ_SIGNAL( activated( int ) ), TQ_SIGNAL( changed() ) );
+ connect( cmb_speed, TQ_SIGNAL( activated( int ) ), TQ_SIGNAL( changed() ) );
+ connect( cb_runScript, TQ_SIGNAL( toggled( bool ) ), TQ_SIGNAL( changed() ) );
+ connect( url_connectScript, TQ_SIGNAL( textChanged( const TQString & ) ),
+ TQ_SIGNAL( changed() ) );
+ connect( cb_Autodetect, TQ_SIGNAL( toggled( bool ) ), TQ_SIGNAL( changed() ) );
+ connect( le_interface, TQ_SIGNAL( textChanged( const TQString & ) ),
+ TQ_SIGNAL( changed() ) );
+
+ connect( pb_setupPower, TQ_SIGNAL( clicked() ), TQ_SLOT( slotSetupPower() ) );
+ connect( pb_setupCrypto, TQ_SIGNAL( clicked() ), TQ_SLOT( slotSetupCrypto() ) );
+
+ connect( cb_useCrypto, TQ_SIGNAL( toggled( bool ) ),
+ pb_setupCrypto, TQ_SLOT( setEnabled( bool ) ) );
+ connect( cb_pmEnabled, TQ_SIGNAL( toggled( bool ) ),
+ pb_setupPower, TQ_SLOT( setEnabled( bool ) ) );
+ connect( cb_runScript, TQ_SIGNAL( toggled( bool ) ),
+ lb_connectScript, TQ_SLOT( setEnabled( bool ) ) );
+ connect( cb_runScript, TQ_SIGNAL( toggled( bool ) ),
+ lb_connectScript, TQ_SLOT( setEnabled( bool ) ) );
+ connect( cb_runScript, TQ_SIGNAL( toggled( bool ) ),
+ lb_connectScript, TQ_SLOT( setEnabled( bool ) ) );
+ connect( cb_Autodetect, TQ_SIGNAL( toggled( bool ) ),
+ le_interface, TQ_SLOT( setDisabled( bool ) ) );
+
+ connect( cb_Autodetect, TQ_SIGNAL( toggled( bool ) ),
+ this, TQ_SLOT ( slotResetInterface( bool ) ) );
}
void IfConfigPage::slotResetInterface( bool checked )
diff --git a/wifi/kcmwifi/kcmwifi.cpp b/wifi/kcmwifi/kcmwifi.cpp
index e35dae27..76393d69 100644
--- a/wifi/kcmwifi/kcmwifi.cpp
+++ b/wifi/kcmwifi/kcmwifi.cpp
@@ -55,7 +55,7 @@ KCMWifi::KCMWifi(TQWidget * parent, const char *name, const TQStringList &)
{
IfConfigPage *ifConfigPage = new IfConfigPage( i, tabs, "m_configPage" );
tabs->addTab(ifConfigPage, i18n ("Config &%1").arg( i+1 ));
- connect(ifConfigPage, TQT_SIGNAL(changed()), TQT_SLOT( slotChanged() ) );
+ connect(ifConfigPage, TQ_SIGNAL(changed()), TQ_SLOT( slotChanged() ) );
m_ifConfigPage[ i ] = ifConfigPage;
}
@@ -65,8 +65,8 @@ KCMWifi::KCMWifi(TQWidget * parent, const char *name, const TQStringList &)
top->addWidget( m_mainConfig );
top->addStretch();
- connect(m_mainConfig, TQT_SIGNAL(changed()), TQT_SLOT( slotChanged() ) );
- connect(m_mainConfig, TQT_SIGNAL(activateClicked()), TQT_SLOT(slotActivate()));
+ connect(m_mainConfig, TQ_SIGNAL(changed()), TQ_SLOT( slotChanged() ) );
+ connect(m_mainConfig, TQ_SIGNAL(activateClicked()), TQ_SLOT(slotActivate()));
if ( geteuid() != 0 )
{
@@ -147,7 +147,7 @@ IfConfigPage* KCMWifi::addConfigTab( int count, bool vendor )
{
IfConfigPage *ifConfigPage = new IfConfigPage( vendorBase + m_activeVendorCount, tabs, "m_configPage" );
tabs->addTab(ifConfigPage, i18n ("Vendor %1").arg( m_activeVendorCount+1 ) );
- connect(ifConfigPage, TQT_SIGNAL(changed()), TQT_SLOT( slotChanged() ) );
+ connect(ifConfigPage, TQ_SIGNAL(changed()), TQ_SLOT( slotChanged() ) );
m_ifConfigPage[ vendorBase+m_activeVendorCount ] = ifConfigPage;
m_mainConfig->registerConfig( vendorBase+m_activeVendorCount );
m_activeVendorCount++;
@@ -170,7 +170,7 @@ IfConfigPage* KCMWifi::addConfigTab( int count, bool vendor )
{
IfConfigPage *ifConfigPage = new IfConfigPage( i, tabs, "m_configPage" );
tabs->insertTab(ifConfigPage, i18n ("Config &%1").arg( i+1 ), i );
- connect(ifConfigPage, TQT_SIGNAL(changed()), TQT_SLOT( slotChanged() ) );
+ connect(ifConfigPage, TQ_SIGNAL(changed()), TQ_SLOT( slotChanged() ) );
m_ifConfigPage[ i ] = ifConfigPage;
m_mainConfig->registerConfig( i+1 );
retval = ifConfigPage;
diff --git a/wifi/kcmwifi/mainconfig.cpp b/wifi/kcmwifi/mainconfig.cpp
index 7ebb401b..f77292a3 100644
--- a/wifi/kcmwifi/mainconfig.cpp
+++ b/wifi/kcmwifi/mainconfig.cpp
@@ -43,12 +43,12 @@ MainConfig::MainConfig( TQWidget *parent, const char *name )
}
- connect( cb_usePreset, TQT_SIGNAL( toggled( bool ) ), TQT_SIGNAL( changed() ) );
- connect( cmb_presetConfig, TQT_SIGNAL( activated( int ) ), TQT_SIGNAL( changed() ) );
- connect( sb_numConfigs, TQT_SIGNAL( valueChanged( int ) ), TQT_SIGNAL( changed() ) );
+ connect( cb_usePreset, TQ_SIGNAL( toggled( bool ) ), TQ_SIGNAL( changed() ) );
+ connect( cmb_presetConfig, TQ_SIGNAL( activated( int ) ), TQ_SIGNAL( changed() ) );
+ connect( sb_numConfigs, TQ_SIGNAL( valueChanged( int ) ), TQ_SIGNAL( changed() ) );
- connect( pb_activate, TQT_SIGNAL( clicked() ), TQT_SIGNAL( activateClicked() ) );
- connect( sb_numConfigs, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotChangeNumConfigs( int ) ) );
+ connect( pb_activate, TQ_SIGNAL( clicked() ), TQ_SIGNAL( activateClicked() ) );
+ connect( sb_numConfigs, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotChangeNumConfigs( int ) ) );
}
diff --git a/wifi/kcmwifi/wificonfig.cpp b/wifi/kcmwifi/wificonfig.cpp
index 6dccea02..33fa1c88 100644
--- a/wifi/kcmwifi/wificonfig.cpp
+++ b/wifi/kcmwifi/wificonfig.cpp
@@ -268,8 +268,8 @@ TQString WifiConfig::autoDetectInterface()
KProcIO test;
test << "iwconfig";
test << *it;
- connect( &test, TQT_SIGNAL( readReady( KProcIO * ) ),
- this, TQT_SLOT( slotTestInterface( KProcIO * ) ) );
+ connect( &test, TQ_SIGNAL( readReady( KProcIO * ) ),
+ this, TQ_SLOT( slotTestInterface( KProcIO * ) ) );
test.start ( TDEProcess::Block );
}
}