diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:42:09 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:42:09 -0600 |
commit | b1b005cf854aad925c2e64c3fc3ece582d4bffcf (patch) | |
tree | 53d452bd876320e4462a2a6ab4fa51b0111d8c02 /kscreensaver/kdesavers/slideshow.cpp | |
parent | 36117c8a3e07af8406a8e3c05748a785d6e53078 (diff) | |
download | tdeartwork-b1b005cf854aad925c2e64c3fc3ece582d4bffcf.tar.gz tdeartwork-b1b005cf854aad925c2e64c3fc3ece582d4bffcf.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kscreensaver/kdesavers/slideshow.cpp')
-rw-r--r-- | kscreensaver/kdesavers/slideshow.cpp | 8 |
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()); |