diff options
Diffstat (limited to 'karm/preferences.cpp')
-rw-r--r-- | karm/preferences.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/karm/preferences.cpp b/karm/preferences.cpp index c242fa6ab..6544931ae 100644 --- a/karm/preferences.cpp +++ b/karm/preferences.cpp @@ -286,7 +286,7 @@ void Preferences::load() void Preferences::save() { - KConfig &config = *KGlobal::config(); + KConfig &config = *TDEGlobal::config(); config.setGroup( TQString::fromLatin1("Idle detection")); config.writeEntry( TQString::fromLatin1("enabled"), _doIdleDetectionV); @@ -314,20 +314,20 @@ void Preferences::save() // HACK: this entire config dialog should be upgraded to KConfigXT bool Preferences::readBoolEntry( const TQString& key ) { - KConfig &config = *KGlobal::config(); + KConfig &config = *TDEGlobal::config(); return config.readBoolEntry ( key, true ); } void Preferences::writeEntry( const TQString &key, bool value) { - KConfig &config = *KGlobal::config(); + KConfig &config = *TDEGlobal::config(); config.writeEntry( key, value ); config.sync(); } void Preferences::deleteEntry( const TQString &key ) { - KConfig &config = *KGlobal::config(); + KConfig &config = *TDEGlobal::config(); config.deleteEntry( key ); config.sync(); } |