summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/synaescope
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:24 -0600
commit20de04ce44f63fb911103d7870d39d2782d14cda (patch)
treebddd13cef2fae98892caf538dc64b5357732c517 /noatun-plugins/synaescope
parent4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff)
downloadtdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz
tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'noatun-plugins/synaescope')
-rw-r--r--noatun-plugins/synaescope/cmodule.cpp4
-rw-r--r--noatun-plugins/synaescope/main.cpp2
-rw-r--r--noatun-plugins/synaescope/ui.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/noatun-plugins/synaescope/cmodule.cpp b/noatun-plugins/synaescope/cmodule.cpp
index 5d64685..ac8c701 100644
--- a/noatun-plugins/synaescope/cmodule.cpp
+++ b/noatun-plugins/synaescope/cmodule.cpp
@@ -62,7 +62,7 @@ void SynaePrefs::save()
if(!changed)
return;
- KConfig *c = TDEGlobal::config();
+ TDEConfig *c = TDEGlobal::config();
c->setGroup("Synaescope");
c->writeEntry("xResolution", xRes->value());
c->writeEntry("yResolution", yRes->value());
@@ -73,7 +73,7 @@ void SynaePrefs::save()
void SynaePrefs::reopen()
{
// kdDebug(66666) << k_funcinfo << endl;
- KConfig *c = TDEGlobal::config();
+ TDEConfig *c = TDEGlobal::config();
c->setGroup("Synaescope");
xRes->setValue(c->readNumEntry("xResolution", 320));
diff --git a/noatun-plugins/synaescope/main.cpp b/noatun-plugins/synaescope/main.cpp
index adbadaa..02ad014 100644
--- a/noatun-plugins/synaescope/main.cpp
+++ b/noatun-plugins/synaescope/main.cpp
@@ -182,7 +182,7 @@ int main(void)
core = new Core;
- KConfig mConfig("noatunrc");
+ TDEConfig mConfig("noatunrc");
mConfig.setGroup("Synaescope");
core->windWidth = mConfig.readNumEntry("xResolution", 320);
diff --git a/noatun-plugins/synaescope/ui.cpp b/noatun-plugins/synaescope/ui.cpp
index eed8362..cd16408 100644
--- a/noatun-plugins/synaescope/ui.cpp
+++ b/noatun-plugins/synaescope/ui.cpp
@@ -353,7 +353,7 @@ Interface::Interface()
static const float SliderSize=0.125;
{
- KConfig config("noatun/synaescope", false, false, "data");
+ TDEConfig config("noatun/synaescope", false, false, "data");
core->fadeMode=(SymbolID)config.readNumEntry("mode", (int)Stars);
core->pointsAreDiamonds=config.readBoolEntry("diamonds", false);
core->brightnessTwiddler=config.readDoubleNumEntry("brightness", .4);
@@ -452,7 +452,7 @@ Interface::Interface()
Interface::~Interface()
{
- KConfig config("noatun/synaescope", false, false, "data");
+ TDEConfig config("noatun/synaescope", false, false, "data");
config.writeEntry("mode",core->fadeMode);
config.writeEntry("diamonds", core->pointsAreDiamonds);
config.writeEntry("brightness", core->brightnessTwiddler);