summaryrefslogtreecommitdiffstats
path: root/wifi/kcmwifi/mainconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wifi/kcmwifi/mainconfig.cpp')
-rw-r--r--wifi/kcmwifi/mainconfig.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/wifi/kcmwifi/mainconfig.cpp b/wifi/kcmwifi/mainconfig.cpp
index c740df69..6989316a 100644
--- a/wifi/kcmwifi/mainconfig.cpp
+++ b/wifi/kcmwifi/mainconfig.cpp
@@ -33,13 +33,13 @@
#include <tqcheckbox.h>
#include <tqfile.h>
-MainConfig::MainConfig( TQWidget *parent, const char *name )
- : MainConfigBase( parent, name )
+MainConfig::MainConfig( TQWidget *tqparent, const char *name )
+ : MainConfigBase( tqparent, name )
{
WifiConfig *config = WifiConfig::instance();
for (int i=1;i<=config->m_numConfigs;i++) {
- cmb_presetConfig->insertItem( i18n( "Config %1" ).arg( i ) );
+ cmb_presetConfig->insertItem( i18n( "Config %1" ).tqarg( i ) );
}
@@ -78,12 +78,12 @@ void MainConfig::slotChangeNumConfigs( int newnumber )
if ( config->m_numConfigs < newnumber ) // number of configs raised
{
int diff = newnumber - config->m_numConfigs;
- ( (KCMWifi*)parentWidget() )->addConfigTab( diff, false );
+ ( (KCMWifi*)tqparentWidget() )->addConfigTab( diff, false );
}
else // number of configs lowered
{
int diff = config->m_numConfigs - newnumber;
- ( (KCMWifi*)parentWidget() )->delConfigTab( diff );
+ ( (KCMWifi*)tqparentWidget() )->delConfigTab( diff );
}
}
@@ -91,12 +91,12 @@ void MainConfig::registerConfig( int number )
{
if ( number >= KCMWifi::vendorBase )
{
- cmb_presetConfig->insertItem( i18n( "Vendor %1" ).arg( number-KCMWifi::vendorBase+1 ) );
+ cmb_presetConfig->insertItem( i18n( "Vendor %1" ).tqarg( number-KCMWifi::vendorBase+1 ) );
}
else
{
WifiConfig* config = WifiConfig::instance();
- cmb_presetConfig->insertItem( i18n( "Config %1" ).arg( number ), number-1 );
+ cmb_presetConfig->insertItem( i18n( "Config %1" ).tqarg( number ), number-1 );
}
}