summaryrefslogtreecommitdiffstats
path: root/kaddressbook/addresseeconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/addresseeconfig.cpp')
-rw-r--r--kaddressbook/addresseeconfig.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/addresseeconfig.cpp b/kaddressbook/addresseeconfig.cpp
index 98495c41e..81f5ceef5 100644
--- a/kaddressbook/addresseeconfig.cpp
+++ b/kaddressbook/addresseeconfig.cpp
@@ -48,7 +48,7 @@ Addressee AddresseeConfig::addressee()
void AddresseeConfig::setAutomaticNameParsing( bool value )
{
- KConfig config( "kaddressbook_addrconfig" );
+ TDEConfig config( "kaddressbook_addrconfig" );
config.setGroup( mAddressee.uid() );
config.writeEntry( "AutomaticNameParsing", value );
config.sync();
@@ -56,7 +56,7 @@ void AddresseeConfig::setAutomaticNameParsing( bool value )
bool AddresseeConfig::automaticNameParsing()
{
- KConfig config( "kaddressbook_addrconfig" );
+ TDEConfig config( "kaddressbook_addrconfig" );
config.setGroup( mAddressee.uid() );
return config.readBoolEntry( "AutomaticNameParsing",
KABPrefs::instance()->automaticNameParsing() );
@@ -64,7 +64,7 @@ bool AddresseeConfig::automaticNameParsing()
void AddresseeConfig::setNoDefaultAddrTypes( const TQValueList<int> &types )
{
- KConfig config( "kaddressbook_addrconfig" );
+ TDEConfig config( "kaddressbook_addrconfig" );
config.setGroup( mAddressee.uid() );
config.writeEntry( "NoDefaultAddrTypes", types );
config.sync();
@@ -72,14 +72,14 @@ void AddresseeConfig::setNoDefaultAddrTypes( const TQValueList<int> &types )
TQValueList<int> AddresseeConfig::noDefaultAddrTypes() const
{
- KConfig config( "kaddressbook_addrconfig" );
+ TDEConfig config( "kaddressbook_addrconfig" );
config.setGroup( mAddressee.uid() );
return config.readIntListEntry( "NoDefaultAddrTypes" );
}
void AddresseeConfig::setCustomFields( const TQStringList &fields )
{
- KConfig config( "kaddressbook_addrconfig" );
+ TDEConfig config( "kaddressbook_addrconfig" );
config.setGroup( mAddressee.uid() );
config.writeEntry( "LocalCustomFields", fields );
config.sync();
@@ -87,13 +87,13 @@ void AddresseeConfig::setCustomFields( const TQStringList &fields )
TQStringList AddresseeConfig::customFields() const
{
- KConfig config( "kaddressbook_addrconfig" );
+ TDEConfig config( "kaddressbook_addrconfig" );
config.setGroup( mAddressee.uid() );
return config.readListEntry( "LocalCustomFields" );
}
void AddresseeConfig::remove()
{
- KConfig config( "kaddressbook_addrconfig" );
+ TDEConfig config( "kaddressbook_addrconfig" );
config.deleteGroup( mAddressee.uid() );
}