From f21aaec952493cb5688c73de6e82a569ddbd7fb2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:36:20 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kpf/src/ErrorMessageConfigDialog.cpp | 4 ++-- kpf/src/PropertiesDialogPlugin.cpp | 2 +- kpf/src/Response.cpp | 2 +- kpf/src/WebServer.cpp | 4 ++-- kpf/src/WebServerManager.cpp | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kpf/src') diff --git a/kpf/src/ErrorMessageConfigDialog.cpp b/kpf/src/ErrorMessageConfigDialog.cpp index b7962b07..05a082bb 100644 --- a/kpf/src/ErrorMessageConfigDialog.cpp +++ b/kpf/src/ErrorMessageConfigDialog.cpp @@ -90,7 +90,7 @@ namespace KPF TQString pattern(i18n("%1 %2")); - KConfig config(Config::name()); + TDEConfig config(Config::name()); config.setGroup("ErrorMessageOverrideFiles"); @@ -130,7 +130,7 @@ namespace KPF void ErrorMessageConfigDialog::accept() { - KConfig config(Config::name()); + TDEConfig config(Config::name()); config.setGroup("ErrorMessageOverrideFiles"); diff --git a/kpf/src/PropertiesDialogPlugin.cpp b/kpf/src/PropertiesDialogPlugin.cpp index d3a0a7c9..929bd2a9 100644 --- a/kpf/src/PropertiesDialogPlugin.cpp +++ b/kpf/src/PropertiesDialogPlugin.cpp @@ -661,7 +661,7 @@ namespace KPF { TQString noWarningKey("DoNotWarnAboutSharingDirectoriesViaHTTP"); - KConfig * config(TDEGlobal::config()); + TDEConfig * config(TDEGlobal::config()); if (config->readBoolEntry(noWarningKey, false)) return true; diff --git a/kpf/src/Response.cpp b/kpf/src/Response.cpp index 85621ff8..7802df5f 100644 --- a/kpf/src/Response.cpp +++ b/kpf/src/Response.cpp @@ -120,7 +120,7 @@ namespace KPF { TQString contentType = "Content-Type: text/html; charset=utf-8\r\n"; - KConfig config(Config::name()); + TDEConfig config(Config::name()); config.setGroup("General"); diff --git a/kpf/src/WebServer.cpp b/kpf/src/WebServer.cpp index 0e7e20e3..e12ebcd2 100644 --- a/kpf/src/WebServer.cpp +++ b/kpf/src/WebServer.cpp @@ -585,7 +585,7 @@ namespace KPF WebServer::loadConfig() { kpfDebug << "WebServer(" << d->root << "): Loading configuration" << endl; - KConfig c(Config::name()); + TDEConfig c(Config::name()); c.setGroup(Config::key(Config::GroupPrefix) + d->root); @@ -623,7 +623,7 @@ namespace KPF WebServer::saveConfig() { kpfDebug << "WebServer(" << d->root << "): Saving configuration" << endl; - KConfig c(Config::name()); + TDEConfig c(Config::name()); c.setGroup(Config::key(Config::GroupPrefix) + d->root); diff --git a/kpf/src/WebServerManager.cpp b/kpf/src/WebServerManager.cpp index 08075fe8..1fa58b63 100644 --- a/kpf/src/WebServerManager.cpp +++ b/kpf/src/WebServerManager.cpp @@ -108,7 +108,7 @@ namespace KPF void WebServerManager::loadConfig() { - KConfig config(Config::name()); + TDEConfig config(Config::name()); config.setGroup("General"); @@ -128,7 +128,7 @@ namespace KPF void WebServerManager::saveConfig() const { - KConfig config(Config::name()); + TDEConfig config(Config::name()); config.setGroup("General"); -- cgit v1.2.1