summaryrefslogtreecommitdiffstats
path: root/kabc/scripts/field.src.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/scripts/field.src.cpp')
-rw-r--r--kabc/scripts/field.src.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kabc/scripts/field.src.cpp b/kabc/scripts/field.src.cpp
index b0704e393..6362d223c 100644
--- a/kabc/scripts/field.src.cpp
+++ b/kabc/scripts/field.src.cpp
@@ -428,13 +428,13 @@ void Field::deleteFields()
void Field::saveFields( const TQString &identifier,
const Field::List &fields )
{
- KConfig *cfg = TDEGlobal::config();
- KConfigGroupSaver( cfg, "KABCFields" );
+ TDEConfig *cfg = TDEGlobal::config();
+ TDEConfigGroupSaver( cfg, "KABCFields" );
saveFields( cfg, identifier, fields );
}
-void Field::saveFields( KConfig *cfg, const TQString &identifier,
+void Field::saveFields( TDEConfig *cfg, const TQString &identifier,
const Field::List &fields )
{
TQValueList<int> fieldIds;
@@ -458,13 +458,13 @@ void Field::saveFields( KConfig *cfg, const TQString &identifier,
Field::List Field::restoreFields( const TQString &identifier )
{
- KConfig *cfg = TDEGlobal::config();
- KConfigGroupSaver( cfg, "KABCFields" );
+ TDEConfig *cfg = TDEGlobal::config();
+ TDEConfigGroupSaver( cfg, "KABCFields" );
return restoreFields( cfg, identifier );
}
-Field::List Field::restoreFields( KConfig *cfg, const TQString &identifier )
+Field::List Field::restoreFields( TDEConfig *cfg, const TQString &identifier )
{
const TQValueList<int> fieldIds = cfg->readIntListEntry( identifier );