summaryrefslogtreecommitdiffstats
path: root/kaddressbook/addresseeconfig.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kaddressbook/addresseeconfig.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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() );
}