summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/slideshow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kscreensaver/kdesavers/slideshow.cpp')
-rw-r--r--kscreensaver/kdesavers/slideshow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kscreensaver/kdesavers/slideshow.cpp b/kscreensaver/kdesavers/slideshow.cpp
index f1d37749..4c8510e5 100644
--- a/kscreensaver/kdesavers/slideshow.cpp
+++ b/kscreensaver/kdesavers/slideshow.cpp
@@ -139,12 +139,12 @@ void kSlideShowSaver::initNextScreen()
//-----------------------------------------------------------------------------
void kSlideShowSaver::readConfig()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup("Settings");
mShowRandom = config->readBoolEntry("ShowRandom", true);
mZoomImages = config->readBoolEntry("ZoomImages", false);
mPrintName = config->readBoolEntry("PrintName", true);
- mDirectory = config->readPathEntry("Directory", KGlobal::dirs()->findDirs("wallpaper", "").last());
+ mDirectory = config->readPathEntry("Directory", TDEGlobal::dirs()->findDirs("wallpaper", "").last());
mDelay = config->readNumEntry("Delay", 10) * 1000;
mSubdirectory = config->readBoolEntry("SubDirectory", false);
mRandomPosition = config->readBoolEntry("RandomPosition", false);
@@ -955,7 +955,7 @@ kSlideShowSetup::~kSlideShowSetup()
//-----------------------------------------------------------------------------
void kSlideShowSetup::readSettings()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup("Settings");
cfg->mCbxRandom->setChecked(config->readBoolEntry("ShowRandom", true));
@@ -971,7 +971,7 @@ void kSlideShowSetup::readSettings()
//-----------------------------------------------------------------------------
void kSlideShowSetup::writeSettings()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup("Settings");
config->writeEntry("ShowRandom", cfg->mCbxRandom->isChecked());