|
|
|
@ -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());
|
|
|
|
|