diff options
Diffstat (limited to 'common/config_file.c-orig')
-rw-r--r-- | common/config_file.c-orig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/config_file.c-orig b/common/config_file.c-orig index 26cfce8..7b6a37d 100644 --- a/common/config_file.c-orig +++ b/common/config_file.c-orig @@ -1139,7 +1139,7 @@ static const char *toStr(ESliderStyle s) else \ CFG.writeEntry(#ENTRY, opts.ENTRY); -bool static writeConfig(KConfig *cfg, const Options &opts, const Options &def, bool exportingStyle=false) +bool static writeConfig(TDEConfig *cfg, const Options &opts, const Options &def, bool exportingStyle=false) { if(!cfg) { @@ -1152,9 +1152,9 @@ bool static writeConfig(KConfig *cfg, const Options &opts, const Options &def, b sprintf(filename, "%s/"TQTC_FILE, xdg); #if [[[TQT_VERSION IS DEPRECATED]]] >= 0x040000 - KConfig defCfg(filename, KConfig::SimpleConfig); + TDEConfig defCfg(filename, TDEConfig::SimpleConfig); #else - KConfig defCfg(filename, false, false); + TDEConfig defCfg(filename, false, false); #endif return writeConfig(&defCfg, opts, def, exportingStyle); @@ -1163,7 +1163,7 @@ bool static writeConfig(KConfig *cfg, const Options &opts, const Options &def, b else { #if [[[TQT_VERSION IS DEPRECATED]]] >= 0x040000 - KConfigGroup config(cfg, TQTC_GROUP); + TDEConfigGroup config(cfg, TQTC_GROUP); #else cfg->setGroup(TQTC_GROUP); #endif |