diff options
Diffstat (limited to 'kscreensaver')
-rw-r--r-- | kscreensaver/blankscrn.cpp | 6 | ||||
-rw-r--r-- | kscreensaver/random.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kscreensaver/blankscrn.cpp b/kscreensaver/blankscrn.cpp index 10d4c18d4..3691e98af 100644 --- a/kscreensaver/blankscrn.cpp +++ b/kscreensaver/blankscrn.cpp @@ -75,7 +75,7 @@ KBlankSetup::KBlankSetup( TQWidget *parent, const char *name ) // read settings from config file void KBlankSetup::readSettings() { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup( "Settings" ); color = config->readColorEntry( "Color", &black ); @@ -90,7 +90,7 @@ void KBlankSetup::slotColor( const TQColor &col ) // Ok pressed - save settings and exit void KBlankSetup::slotOk() { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup( "Settings" ); config->writeEntry( "Color", color ); config->sync(); @@ -121,7 +121,7 @@ void KBlankSaver::setColor( const TQColor &col ) // read configuration settings from config file void KBlankSaver::readSettings() { - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); config->setGroup( "Settings" ); color = config->readColorEntry( "Color", &black ); diff --git a/kscreensaver/random.cpp b/kscreensaver/random.cpp index 3f9e69479..f7421ae7d 100644 --- a/kscreensaver/random.cpp +++ b/kscreensaver/random.cpp @@ -139,7 +139,7 @@ int main(int argc, char *argv[]) TQStringList saverFileList; - KConfig type("krandom.kssrc"); + TDEConfig type("krandom.kssrc"); type.setGroup("Settings"); bool opengl = type.readBoolEntry("OpenGL", hasDirectRendering()); kdDebug() << "hasOPEN " << opengl << endl; @@ -273,7 +273,7 @@ KRandomSetup::KRandomSetup( TQWidget *parent, const char *name ) setMinimumSize( sizeHint() ); - KConfig config("krandom.kssrc"); + TDEConfig config("krandom.kssrc"); config.setGroup("Settings"); openGL->setChecked(config.readBoolEntry("OpenGL", hasDirectRendering())); manipulateScreen->setChecked(config.readBoolEntry("ManipulateScreen", true)); @@ -281,7 +281,7 @@ KRandomSetup::KRandomSetup( TQWidget *parent, const char *name ) void KRandomSetup::slotOk() { - KConfig config("krandom.kssrc"); + TDEConfig config("krandom.kssrc"); config.setGroup("Settings"); config.writeEntry("OpenGL", openGL->isChecked()); config.writeEntry("ManipulateScreen", manipulateScreen->isChecked()); |