diff options
Diffstat (limited to 'noatun-plugins/synaescope')
-rw-r--r-- | noatun-plugins/synaescope/cmodule.cpp | 4 | ||||
-rw-r--r-- | noatun-plugins/synaescope/main.cpp | 2 | ||||
-rw-r--r-- | noatun-plugins/synaescope/ui.cpp | 4 |
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); |