From 86d8364ac704bdc8ad2dfcf52307d9626cfac567 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:37:21 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- karm/preferences.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'karm/preferences.cpp') diff --git a/karm/preferences.cpp b/karm/preferences.cpp index 6544931ae..1dd13625c 100644 --- a/karm/preferences.cpp +++ b/karm/preferences.cpp @@ -251,7 +251,7 @@ TQString Preferences::userRealName() const { return _userRealNa //--------------------------------------------------------------------------- void Preferences::load() { - KConfig &config = *kapp->config(); + TDEConfig &config = *kapp->config(); config.setGroup( TQString::fromLatin1("Idle detection") ); _doIdleDetectionV = config.readBoolEntry( TQString::fromLatin1("enabled"), @@ -286,7 +286,7 @@ void Preferences::load() void Preferences::save() { - KConfig &config = *TDEGlobal::config(); + TDEConfig &config = *TDEGlobal::config(); config.setGroup( TQString::fromLatin1("Idle detection")); config.writeEntry( TQString::fromLatin1("enabled"), _doIdleDetectionV); @@ -311,23 +311,23 @@ void Preferences::save() config.sync(); } -// HACK: this entire config dialog should be upgraded to KConfigXT +// HACK: this entire config dialog should be upgraded to TDEConfigXT bool Preferences::readBoolEntry( const TQString& key ) { - KConfig &config = *TDEGlobal::config(); + TDEConfig &config = *TDEGlobal::config(); return config.readBoolEntry ( key, true ); } void Preferences::writeEntry( const TQString &key, bool value) { - KConfig &config = *TDEGlobal::config(); + TDEConfig &config = *TDEGlobal::config(); config.writeEntry( key, value ); config.sync(); } void Preferences::deleteEntry( const TQString &key ) { - KConfig &config = *TDEGlobal::config(); + TDEConfig &config = *TDEGlobal::config(); config.deleteEntry( key ); config.sync(); } -- cgit v1.2.1