summaryrefslogtreecommitdiffstats
path: root/wifi/kcmwifi
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
commitf21aaec952493cb5688c73de6e82a569ddbd7fb2 (patch)
tree78ccb5117063da3e08e3277e11054b912a9f2ae7 /wifi/kcmwifi
parentc48e769eb275917717e2b55eb869f7e559293ac8 (diff)
downloadtdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.tar.gz
tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'wifi/kcmwifi')
-rw-r--r--wifi/kcmwifi/kcmwifi.cpp2
-rw-r--r--wifi/kcmwifi/kcmwifi.h2
-rw-r--r--wifi/kcmwifi/wificonfig.cpp4
-rw-r--r--wifi/kcmwifi/wificonfig.h6
4 files changed, 7 insertions, 7 deletions
diff --git a/wifi/kcmwifi/kcmwifi.cpp b/wifi/kcmwifi/kcmwifi.cpp
index 79802e32..3544bb7a 100644
--- a/wifi/kcmwifi/kcmwifi.cpp
+++ b/wifi/kcmwifi/kcmwifi.cpp
@@ -43,7 +43,7 @@ typedef KGenericFactory < KCMWifi, TQWidget > KWiFiFactory;
K_EXPORT_COMPONENT_FACTORY (kcm_wifi, KWiFiFactory("kcmwifi") )
KCMWifi::KCMWifi(TQWidget * parent, const char *name, const TQStringList &)
- : KCModule (parent, name)
+ : TDECModule (parent, name)
{
tabs = new TQTabWidget (this, "tabs");
diff --git a/wifi/kcmwifi/kcmwifi.h b/wifi/kcmwifi/kcmwifi.h
index 0596ebee..26de95a1 100644
--- a/wifi/kcmwifi/kcmwifi.h
+++ b/wifi/kcmwifi/kcmwifi.h
@@ -30,7 +30,7 @@ class MainConfig;
class TQTabWidget;
class KProcIO;
-class KCMWifi : public KCModule
+class KCMWifi : public TDECModule
{
Q_OBJECT
diff --git a/wifi/kcmwifi/wificonfig.cpp b/wifi/kcmwifi/wificonfig.cpp
index 6941b80e..7a1cdac3 100644
--- a/wifi/kcmwifi/wificonfig.cpp
+++ b/wifi/kcmwifi/wificonfig.cpp
@@ -115,7 +115,7 @@ IfConfig::IfConfig()
powerModeList << "All" << "UnicastOnly" << "MulticastOnly";
}
-void IfConfig::load( KConfig *config, int i )
+void IfConfig::load( TDEConfig *config, int i )
{
TQString entry;
@@ -148,7 +148,7 @@ void IfConfig::load( KConfig *config, int i )
m_wakeupPeriod = config->readNumEntry( "WakeupPeriod", 20 );
}
-void IfConfig::save( KConfig *config, int i )
+void IfConfig::save( TDEConfig *config, int i )
{
TQString group = TQString( "Configuration %1" ).arg( i+1 );
config->setGroup( group );
diff --git a/wifi/kcmwifi/wificonfig.h b/wifi/kcmwifi/wificonfig.h
index 410756ed..2e153bcb 100644
--- a/wifi/kcmwifi/wificonfig.h
+++ b/wifi/kcmwifi/wificonfig.h
@@ -25,7 +25,7 @@
#include "kcmwifi.h"
-class KConfig;
+class TDEConfig;
class KSimpleConfig;
enum KeyStates { EMPTY=0, INVALID=1, HEX_64=2, HEX_128=3, HEX_256=4, STRING_64=5, STRING_128=6, STRING_256=7 };
@@ -58,8 +58,8 @@ class IfConfig
enum PowerMode { AllPackets=0, UnicastOnly, MulticastOnly };
enum CryptoMode { Open=0, Restricted };
- void load( KConfig *config, int i );
- void save( KConfig *config, int i );
+ void load( TDEConfig *config, int i );
+ void save( TDEConfig *config, int i );
TQString speedAsString();
TQString wifimodeAsString();