summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:29:42 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:29:42 -0600
commit159f7e147ac33c924b3ce9050c8f03cbc54916ee (patch)
tree38565fca708177609da9ddd523d49b9480b10de5 /kscreensaver/kdesavers
parentb1b005cf854aad925c2e64c3fc3ece582d4bffcf (diff)
downloadtdeartwork-159f7e147ac33c924b3ce9050c8f03cbc54916ee.tar.gz
tdeartwork-159f7e147ac33c924b3ce9050c8f03cbc54916ee.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kscreensaver/kdesavers')
-rw-r--r--kscreensaver/kdesavers/Euphoria.cpp4
-rw-r--r--kscreensaver/kdesavers/Flux.cpp4
-rw-r--r--kscreensaver/kdesavers/SolarWinds.cpp4
-rw-r--r--kscreensaver/kdesavers/banner.cpp6
-rw-r--r--kscreensaver/kdesavers/blob.cpp6
-rw-r--r--kscreensaver/kdesavers/firesaver.cpp2
-rw-r--r--kscreensaver/kdesavers/firesaversetup.ui.h4
-rw-r--r--kscreensaver/kdesavers/fountain.cpp10
-rw-r--r--kscreensaver/kdesavers/gravity.cpp10
-rw-r--r--kscreensaver/kdesavers/kclock.cpp6
-rw-r--r--kscreensaver/kdesavers/kvm.cpp6
-rw-r--r--kscreensaver/kdesavers/lines.cpp6
-rw-r--r--kscreensaver/kdesavers/lorenz.cpp8
-rw-r--r--kscreensaver/kdesavers/pendulum.cpp4
-rw-r--r--kscreensaver/kdesavers/polygon.cpp6
-rw-r--r--kscreensaver/kdesavers/rotation.cpp4
-rw-r--r--kscreensaver/kdesavers/science.cpp6
-rw-r--r--kscreensaver/kdesavers/slideshow.cpp6
-rw-r--r--kscreensaver/kdesavers/wave.cpp6
19 files changed, 54 insertions, 54 deletions
diff --git a/kscreensaver/kdesavers/Euphoria.cpp b/kscreensaver/kdesavers/Euphoria.cpp
index c42e7693..7f69e34e 100644
--- a/kscreensaver/kdesavers/Euphoria.cpp
+++ b/kscreensaver/kdesavers/Euphoria.cpp
@@ -944,7 +944,7 @@ static int filterRandom( int n )
void KEuphoriaScreenSaver::readSettings()
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("Settings");
_mode = config->readNumEntry( "Mode", EuphoriaWidget::Regular );
@@ -1047,7 +1047,7 @@ void KEuphoriaSetup::slotHelp()
*/
void KEuphoriaSetup::slotOk()
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("Settings");
TQString val;
diff --git a/kscreensaver/kdesavers/Flux.cpp b/kscreensaver/kdesavers/Flux.cpp
index 0fb73466..d401b782 100644
--- a/kscreensaver/kdesavers/Flux.cpp
+++ b/kscreensaver/kdesavers/Flux.cpp
@@ -828,7 +828,7 @@ static int filterRandom( int n )
void KFluxScreenSaver::readSettings()
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("Settings");
_mode = config->readNumEntry( "Mode", FluxWidget::Regular );
@@ -928,7 +928,7 @@ void KFluxSetup::slotHelp()
*/
void KFluxSetup::slotOk()
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("Settings");
TQString val;
diff --git a/kscreensaver/kdesavers/SolarWinds.cpp b/kscreensaver/kdesavers/SolarWinds.cpp
index 4b534b1d..b464a8de 100644
--- a/kscreensaver/kdesavers/SolarWinds.cpp
+++ b/kscreensaver/kdesavers/SolarWinds.cpp
@@ -642,7 +642,7 @@ static int filterRandom( int n )
void KSWindsScreenSaver::readSettings()
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("Settings");
_mode = config->readNumEntry( "Mode", SWindsWidget::Regular );
@@ -740,7 +740,7 @@ void KSWindsSetup::slotHelp()
*/
void KSWindsSetup::slotOk()
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("Settings");
TQString val;
diff --git a/kscreensaver/kdesavers/banner.cpp b/kscreensaver/kdesavers/banner.cpp
index 0410f397..a1672b27 100644
--- a/kscreensaver/kdesavers/banner.cpp
+++ b/kscreensaver/kdesavers/banner.cpp
@@ -166,7 +166,7 @@ KBannerSetup::KBannerSetup( TQWidget *parent, const char *name )
// read settings from config file
void KBannerSetup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
speed=config->readNumEntry("Speed",50);
@@ -308,7 +308,7 @@ void KBannerSetup::slotTimeToggled( bool on )
// Ok pressed - save settings and exit
void KBannerSetup::slotOk()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
config->writeEntry( "Speed", speed );
@@ -415,7 +415,7 @@ void KBannerSaver::setTimeDisplay()
// read settings from config file
void KBannerSaver::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
setSpeed( config->readNumEntry("Speed",50) );
diff --git a/kscreensaver/kdesavers/blob.cpp b/kscreensaver/kdesavers/blob.cpp
index 9bf36b78..4b116744 100644
--- a/kscreensaver/kdesavers/blob.cpp
+++ b/kscreensaver/kdesavers/blob.cpp
@@ -412,7 +412,7 @@ void KBlobSaver::blank()
void KBlobSaver::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
// number of seconds to spend on a frame
@@ -491,7 +491,7 @@ KBlobSetup::KBlobSetup
void KBlobSetup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
// number of seconds to spend on a frame
@@ -504,7 +504,7 @@ void KBlobSetup::readSettings()
// Ok pressed - save settings and exit
void KBlobSetup::slotOk()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
diff --git a/kscreensaver/kdesavers/firesaver.cpp b/kscreensaver/kdesavers/firesaver.cpp
index c03fc1fa..ad6b83ac 100644
--- a/kscreensaver/kdesavers/firesaver.cpp
+++ b/kscreensaver/kdesavers/firesaver.cpp
@@ -1001,7 +1001,7 @@ void KFireSaver :: freeTexture( unsigned int & textureID )
void KFireSaver :: readConfig ()
{
- KConfig config("kfiresaverrc",true,false);
+ TDEConfig config("kfiresaverrc",true,false);
// show
config.setGroup( "Show" );
diff --git a/kscreensaver/kdesavers/firesaversetup.ui.h b/kscreensaver/kdesavers/firesaversetup.ui.h
index 5602cc6d..da8ed42a 100644
--- a/kscreensaver/kdesavers/firesaversetup.ui.h
+++ b/kscreensaver/kdesavers/firesaversetup.ui.h
@@ -58,7 +58,7 @@ void KFireSaverSetup::updatePreview()
void KFireSaverSetup::writeConfig()
{
- KConfig config("kfiresaverrc",false,false);
+ TDEConfig config("kfiresaverrc",false,false);
// show
config.setGroup( "Show" );
@@ -129,7 +129,7 @@ void KFireSaverSetup::writeConfig()
void KFireSaverSetup::readConfig()
{
- KConfig config("kfiresaverrc",true,false);
+ TDEConfig config("kfiresaverrc",true,false);
// show
config.setGroup( "Show" );
diff --git a/kscreensaver/kdesavers/fountain.cpp b/kscreensaver/kdesavers/fountain.cpp
index 47b66998..125be143 100644
--- a/kscreensaver/kdesavers/fountain.cpp
+++ b/kscreensaver/kdesavers/fountain.cpp
@@ -4,7 +4,7 @@
//
// Copyright (c) Ian Reinhart Geiser 2001
//
-// KConfig code and KScreenSaver "Setup..." improvements by
+// TDEConfig code and KScreenSaver "Setup..." improvements by
// Nick Betcher <[email protected]> 2001
//
#include <stdlib.h>
@@ -96,7 +96,7 @@ KFountainSetup::KFountainSetup( TQWidget *parent, const char *name )
// read settings from config file
void KFountainSetup::readSettings()
{
- KConfig config("kssfountainrc", false, false);
+ TDEConfig config("kssfountainrc", false, false);
config.setGroup( "Settings" );
TQString boolval = config.readEntry( "Stars", "false" );
@@ -119,7 +119,7 @@ void KFountainSetup::readSettings()
// Ok pressed - save settings and exit
void KFountainSetup::slotOkPressed()
{
- KConfig config("kssfountainrc", false, false);
+ TDEConfig config("kssfountainrc", false, false);
config.setGroup( "Settings" );
if (RadioButton1->isOn() == true)
@@ -141,7 +141,7 @@ void KFountainSetup::slotOkPressed()
void KFountainSetup::aboutPressed()
{
KMessageBox::about(this,
- i18n("<h3>Particle Fountain</h3>\n<p>Particle Fountain Screen Saver for TDE</p>\nCopyright (c) Ian Reinhart Geiser 2001<br>\n\n<p>KConfig code and KScreenSaver \"Setup...\" improvements by Nick Betcher <[email protected]> 2001</p>"));
+ i18n("<h3>Particle Fountain</h3>\n<p>Particle Fountain Screen Saver for TDE</p>\nCopyright (c) Ian Reinhart Geiser 2001<br>\n\n<p>TDEConfig code and KScreenSaver \"Setup...\" improvements by Nick Betcher <[email protected]> 2001</p>"));
}
//-----------------------------------------------------------------------------
@@ -191,7 +191,7 @@ Fountain::Fountain( TQWidget * parent, const char * name) : TQGLWidget (parent,n
obj = gluNewQuadric();
// This has to be here because you can't update the fountain until 'fountain' is created!
- KConfig config("kssfountainrc", false, false);
+ TDEConfig config("kssfountainrc", false, false);
config.setGroup( "Settings" );
TQString boolval = config.readEntry( "Stars", "false" );
if (boolval == "true") {
diff --git a/kscreensaver/kdesavers/gravity.cpp b/kscreensaver/kdesavers/gravity.cpp
index 25adf2e2..1f51a5a7 100644
--- a/kscreensaver/kdesavers/gravity.cpp
+++ b/kscreensaver/kdesavers/gravity.cpp
@@ -4,7 +4,7 @@
//
// Copyright (c) Ian Reinhart Geiser 2001
//
-// KConfig code and KScreenSaver "Setup..." improvements by
+// TDEConfig code and KScreenSaver "Setup..." improvements by
// Nick Betcher <[email protected]> 2001
//
#include <stdlib.h>
@@ -82,7 +82,7 @@ KGravitySetup::~KGravitySetup()
// read settings from config file
void KGravitySetup::readSettings()
{
- KConfig config("kssgravityrc", false, false);
+ TDEConfig config("kssgravityrc", false, false);
config.setGroup( "Settings" );
TQString boolval = config.readEntry( "Stars", "false" );
@@ -105,7 +105,7 @@ void KGravitySetup::readSettings()
// Ok pressed - save settings and exit
void KGravitySetup::slotOkPressed()
{
- KConfig config("kssgravityrc", false, false);
+ TDEConfig config("kssgravityrc", false, false);
config.setGroup( "Settings" );
if (RadioButton1->isOn() == true)
@@ -127,7 +127,7 @@ void KGravitySetup::slotOkPressed()
void KGravitySetup::aboutPressed()
{
KMessageBox::about(this,
- i18n("<h3>Gravity</h3>\n<p>Particle Gravity Screen Saver for TDE</p>\nCopyright (c) Ian Reinhart Geiser 2001<br>\n\n<p>KConfig code and KScreenSaver \"Setup...\" improvements by Nick Betcher <[email protected]> 2001</p>"));
+ i18n("<h3>Gravity</h3>\n<p>Particle Gravity Screen Saver for TDE</p>\nCopyright (c) Ian Reinhart Geiser 2001<br>\n\n<p>TDEConfig code and KScreenSaver \"Setup...\" improvements by Nick Betcher <[email protected]> 2001</p>"));
}
//-----------------------------------------------------------------------------
@@ -179,7 +179,7 @@ Gravity::Gravity( TQWidget * parent, const char * name) : TQGLWidget (parent,nam
// obj = gluNewQuadric();
// This has to be here because you can't update the gravity until 'gravity' is created!
- KConfig config("kssgravityrc", false, false);
+ TDEConfig config("kssgravityrc", false, false);
config.setGroup( "Settings" );
TQString boolval = config.readEntry( "Stars", "false" );
if (boolval == "true") {
diff --git a/kscreensaver/kdesavers/kclock.cpp b/kscreensaver/kdesavers/kclock.cpp
index 8ff4d6fa..5201f222 100644
--- a/kscreensaver/kdesavers/kclock.cpp
+++ b/kscreensaver/kdesavers/kclock.cpp
@@ -174,7 +174,7 @@ KClockSetup::~KClockSetup()
void KClockSetup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
m_keepCentered = config->readBoolEntry("KeepCentered", DEFAULT_KEEP_CENTERED);
@@ -206,7 +206,7 @@ void KClockSetup::readSettings()
void KClockSetup::slotOk()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
config->writeEntry("Size", m_size);
config->writeEntry("KeepCentered", m_keepCentered);
@@ -488,7 +488,7 @@ void KClockSaver::setKeepCentered(bool b)
void KClockSaver::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
m_keepCentered = config->readBoolEntry("KeepCentered", DEFAULT_KEEP_CENTERED);
diff --git a/kscreensaver/kdesavers/kvm.cpp b/kscreensaver/kdesavers/kvm.cpp
index 4e6bbb77..fbbfdd31 100644
--- a/kscreensaver/kdesavers/kvm.cpp
+++ b/kscreensaver/kdesavers/kvm.cpp
@@ -226,7 +226,7 @@ void kVmSaver::setRefreshTimeout( const int refreshTimeout )
void kVmSaver::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
speed = config->readNumEntry( "Speed", 50 );
@@ -329,7 +329,7 @@ kVmSetup::~kVmSetup()
void kVmSetup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
speed = config->readNumEntry( "Speed", 50 );
@@ -359,7 +359,7 @@ void kVmSetup::slotRefreshTimeout( int num )
void kVmSetup::slotOk()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
TQString sspeed;
diff --git a/kscreensaver/kdesavers/lines.cpp b/kscreensaver/kdesavers/lines.cpp
index 235da413..d66f5a43 100644
--- a/kscreensaver/kdesavers/lines.cpp
+++ b/kscreensaver/kdesavers/lines.cpp
@@ -186,7 +186,7 @@ kLinesSetup::~kLinesSetup()
// read settings from config file
void kLinesSetup::readSettings(){
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
TQString str;
@@ -244,7 +244,7 @@ void kLinesSetup::slotHelp(){
// Ok pressed - save settings and exit
void kLinesSetup::slotOk(){
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
TQString slength;
@@ -319,7 +319,7 @@ void kLinesSaver::setColor(const TQColor& cs, const TQColor& cm, const TQColor&
// read configuration settings from config file
void kLinesSaver::readSettings(){
- KConfig *config=TDEGlobal::config();
+ TDEConfig *config=TDEGlobal::config();
config->setGroup("Settings");
numLines=config->readNumEntry("Length", 10);
diff --git a/kscreensaver/kdesavers/lorenz.cpp b/kscreensaver/kdesavers/lorenz.cpp
index e6f911dc..e4e5f63c 100644
--- a/kscreensaver/kdesavers/lorenz.cpp
+++ b/kscreensaver/kdesavers/lorenz.cpp
@@ -155,7 +155,7 @@ KLorenzSetup::~KLorenzSetup()
// read settings from config file
void KLorenzSetup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
speed = config->readNumEntry( "Speed", DEFSPEED );
@@ -223,7 +223,7 @@ void KLorenzSetup::slotHelp()
// Ok pressed - save settings and exit
void KLorenzSetup::slotOk()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
config->writeEntry( "Speed", speed );
@@ -265,7 +265,7 @@ void KLorenzSetup::slotDefault()
/* // User can cancel, or save defaults?
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
config->writeEntry( "Speed", speed );
@@ -461,7 +461,7 @@ KLorenzSaver::~KLorenzSaver()
// read configuration settings from config file
void KLorenzSaver::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
speed = config->readNumEntry( "Speed", DEFSPEED );
diff --git a/kscreensaver/kdesavers/pendulum.cpp b/kscreensaver/kdesavers/pendulum.cpp
index e178d997..a355e029 100644
--- a/kscreensaver/kdesavers/pendulum.cpp
+++ b/kscreensaver/kdesavers/pendulum.cpp
@@ -392,7 +392,7 @@ KPendulumSaver::~KPendulumSaver()
void KPendulumSaver::readSettings()
{
// read configuration settings from config file
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
// internal saver parameters are set to stored values or left at their
@@ -766,7 +766,7 @@ KPendulumSetup::~KPendulumSetup()
// Ok pressed - save settings and exit
void KPendulumSetup::okButtonClickedSlot()
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("Settings");
config->writeEntry("mass ratio", saver->massRatio());
diff --git a/kscreensaver/kdesavers/polygon.cpp b/kscreensaver/kdesavers/polygon.cpp
index 1de9aab3..2358f90a 100644
--- a/kscreensaver/kdesavers/polygon.cpp
+++ b/kscreensaver/kdesavers/polygon.cpp
@@ -113,7 +113,7 @@ kPolygonSetup::~kPolygonSetup()
// read settings from config file
void kPolygonSetup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
length = config->readNumEntry( "Length", length );
@@ -159,7 +159,7 @@ void kPolygonSetup::slotSpeed( int num )
// Ok pressed - save settings and exit
void kPolygonSetup::slotOk()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
TQString slength;
@@ -241,7 +241,7 @@ void kPolygonSaver::setSpeed( int spd )
// read configuration settings from config file
void kPolygonSaver::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
numLines = config->readNumEntry( "Length", 10 );
diff --git a/kscreensaver/kdesavers/rotation.cpp b/kscreensaver/kdesavers/rotation.cpp
index 2c0ddd84..9958bd81 100644
--- a/kscreensaver/kdesavers/rotation.cpp
+++ b/kscreensaver/kdesavers/rotation.cpp
@@ -558,7 +558,7 @@ void KRotationSaver::initData()
void KRotationSaver::readSettings()
{
// read configuration settings from config file
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
// internal saver parameters are set to stored values or left at their
@@ -764,7 +764,7 @@ KRotationSetup::~KRotationSetup()
// Ok pressed - save settings and exit
void KRotationSetup::okButtonClickedSlot(void)
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("Settings");
config->writeEntry("x trace", saver->traceFlag(0));
config->writeEntry("y trace", saver->traceFlag(1));
diff --git a/kscreensaver/kdesavers/science.cpp b/kscreensaver/kdesavers/science.cpp
index 093084c2..efa860d9 100644
--- a/kscreensaver/kdesavers/science.cpp
+++ b/kscreensaver/kdesavers/science.cpp
@@ -560,7 +560,7 @@ void KScienceSaver::setHideBG( bool b )
void KScienceSaver::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
TQString sMode;
config->setGroup( "Settings" );
@@ -1008,7 +1008,7 @@ void KScienceSetup::updateSettings()
// read settings from config file
void KScienceSetup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
TQString sMode;
config->setGroup( "Settings" );
@@ -1118,7 +1118,7 @@ void KScienceSetup::slotSliderReleased()
// Ok pressed - save settings and exit
void KScienceSetup::slotOk()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
TQString sSize, sSpeed, sIntensity, sMode;
config->setGroup( "Settings" );
diff --git a/kscreensaver/kdesavers/slideshow.cpp b/kscreensaver/kdesavers/slideshow.cpp
index 4c8510e5..a3179b5f 100644
--- a/kscreensaver/kdesavers/slideshow.cpp
+++ b/kscreensaver/kdesavers/slideshow.cpp
@@ -139,7 +139,7 @@ void kSlideShowSaver::initNextScreen()
//-----------------------------------------------------------------------------
void kSlideShowSaver::readConfig()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
mShowRandom = config->readBoolEntry("ShowRandom", true);
mZoomImages = config->readBoolEntry("ZoomImages", false);
@@ -955,7 +955,7 @@ kSlideShowSetup::~kSlideShowSetup()
//-----------------------------------------------------------------------------
void kSlideShowSetup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *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 = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup("Settings");
config->writeEntry("ShowRandom", cfg->mCbxRandom->isChecked());
diff --git a/kscreensaver/kdesavers/wave.cpp b/kscreensaver/kdesavers/wave.cpp
index 817b5062..f2f03544 100644
--- a/kscreensaver/kdesavers/wave.cpp
+++ b/kscreensaver/kdesavers/wave.cpp
@@ -83,7 +83,7 @@ KWaveSetup::~KWaveSetup( )
// read settings from config file
void KWaveSetup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
// color = config->readColorEntry( "Color", &black );
@@ -92,7 +92,7 @@ void KWaveSetup::readSettings()
// Ok pressed - save settings and exit
void KWaveSetup::slotOkPressed()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
// config->writeEntry( "Color", color );
@@ -133,7 +133,7 @@ KWaveSaver::~KWaveSaver()
// read configuration settings from config file
void KWaveSaver::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
// color = config->readColorEntry( "Color", &black );