diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:11:53 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:11:53 -0600 |
commit | d60d44d67fa75f6576e0d20f13c50721acbf89da (patch) | |
tree | 432ca5df47990c3670d37cc3222e1af57abcd1d0 /src/settings.cpp | |
parent | 8874c8d8f787c27407de71f05419febfd83a1024 (diff) | |
download | tdepowersave-d60d44d67fa75f6576e0d20f13c50721acbf89da.tar.gz tdepowersave-d60d44d67fa75f6576e0d20f13c50721acbf89da.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index c756370..753d4dd 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -35,7 +35,7 @@ /*! This is the default constructor of the class Settings. */ Settings::Settings() { - kconfig = new KConfig("kpowersaverc", true ); + kconfig = new TDEConfig("kpowersaverc", true ); kde = new KDE_Settings(); load_kde(); load_general_settings(); @@ -352,7 +352,7 @@ action Settings::mapActionToType (TQString _action) { * \retval false if there was a error/problem */ void Settings::load_kde(){ - KConfig *_kconfig = new KConfig("kcmdisplayrc", true ); + TDEConfig *_kconfig = new TDEConfig("kcmdisplayrc", true ); /* KDE settings [DisplayEnergy] from kcmdisplayrc */ if(_kconfig->hasGroup("DisplayEnergy")) { @@ -363,7 +363,7 @@ void Settings::load_kde(){ kde->displayPowerOff = _kconfig->readNumEntry("displayPowerOff", 19); } delete _kconfig; - _kconfig = new KConfig("kdesktoprc", true ); + _kconfig = new TDEConfig("kdesktoprc", true ); /* KDE settings [ScreenSaver] from kdesktoprc */ if(_kconfig->hasGroup("ScreenSaver")) { _kconfig->setGroup("ScreenSaver"); |