diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kscreensaver | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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()); |