summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--knetworkconf/knetworkconf/knetworkconfigparser.cpp8
-rw-r--r--knetworkconf/knetworkconf/knetworkconfigparser.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/knetworkconf/knetworkconf/knetworkconfigparser.cpp b/knetworkconf/knetworkconf/knetworkconfigparser.cpp
index 23b34d2..2ffa4c3 100644
--- a/knetworkconf/knetworkconf/knetworkconfigparser.cpp
+++ b/knetworkconf/knetworkconf/knetworkconfigparser.cpp
@@ -367,7 +367,7 @@ void KNetworkConfigParser::addNetworkInterfacesToXMLDoc(TQDomDocument *doc, TQDo
//Save in the configuration file the description of the interfaces as
//the backend no longer handles this
- KSimpleConfig cfg("knetworkconfrc");
+ TDESimpleConfig cfg("knetworkconfrc");
cfg.setGroup("Interfaces");
//Add the network interfaces list
@@ -751,7 +751,7 @@ KNetworkInterface * KNetworkConfigParser::getInterfaceInfo(TQDomElement interfac
tempDevice->setType(type);
TQString description;
- KSimpleConfig cfg("knetworkconfrc");
+ TDESimpleConfig cfg("knetworkconfrc");
cfg.setGroup("Interfaces");
description = cfg.readEntry(tempDevice->getDeviceName());
if (!description.isEmpty())
@@ -1199,7 +1199,7 @@ void KNetworkConfigParser::showSupportedPlatformsDialogSlot(){
void KNetworkConfigParser::saveAskAgain(const TQString &platform, bool askAgain)
{
- KSimpleConfig cfg("knetworkconfrc");
+ TDESimpleConfig cfg("knetworkconfrc");
cfg.setGroup("General");
cfg.writeEntry("detectedPlatform",platform);
cfg.writeEntry("askAgainPlatform",askAgain);
@@ -1208,7 +1208,7 @@ void KNetworkConfigParser::saveAskAgain(const TQString &platform, bool askAgain)
bool KNetworkConfigParser::readAskAgain(TQString &platform)
{
- KSimpleConfig cfg("knetworkconfrc");
+ TDESimpleConfig cfg("knetworkconfrc");
cfg.setGroup("General");
platform = cfg.readEntry("detectedPlatform");
return cfg.readBoolEntry("askAgainPlatform");
diff --git a/knetworkconf/knetworkconf/knetworkconfigparser.h b/knetworkconf/knetworkconf/knetworkconfigparser.h
index 44909dc..ef9950d 100644
--- a/knetworkconf/knetworkconf/knetworkconfigparser.h
+++ b/knetworkconf/knetworkconf/knetworkconfigparser.h
@@ -43,7 +43,7 @@
#include <tqcheckbox.h>
#include <tdelistbox.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdestandarddirs.h>
#include <kdebug.h>
@@ -144,7 +144,7 @@ class KNetworkConfigParser : public TQObject {
TQPtrList<KNetworkInterface> tempDevList;
/** Parses all of the <statichost>...</statichost> entries in the xml configuration file. */
KKnownHostInfo * getStaticHostInfo(TQDomElement host);
- /** Saves the option to show again or not the platform using KSimpleConfig*/
+ /** Saves the option to show again or not the platform using TDESimpleConfig*/
void saveAskAgain(const TQString &platform, bool askAgain);
/**Returns if the show platform should be shown again or not and the saved platform*/
bool readAskAgain(TQString &platform);