diff options
Diffstat (limited to 'libtdepim/recentaddresses.cpp')
-rw-r--r-- | libtdepim/recentaddresses.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libtdepim/recentaddresses.cpp b/libtdepim/recentaddresses.cpp index 066ba27b3..bbd7d29a9 100644 --- a/libtdepim/recentaddresses.cpp +++ b/libtdepim/recentaddresses.cpp @@ -47,14 +47,14 @@ static KStaticDeleter<RecentAddresses> sd; RecentAddresses * RecentAddresses::s_self = 0; -RecentAddresses * RecentAddresses::self( KConfig *config) +RecentAddresses * RecentAddresses::self( TDEConfig *config) { if ( !s_self ) sd.setObject( s_self, new RecentAddresses(config) ); return s_self; } -RecentAddresses::RecentAddresses(KConfig * config) +RecentAddresses::RecentAddresses(TDEConfig * config) { if ( !config ) load( TDEGlobal::config() ); @@ -68,14 +68,14 @@ RecentAddresses::~RecentAddresses() // on s_self } -void RecentAddresses::load( KConfig *config ) +void RecentAddresses::load( TDEConfig *config ) { TQStringList addresses; TQString name; TQString email; m_addresseeList.clear(); - KConfigGroupSaver cs( config, "General" ); + TDEConfigGroupSaver cs( config, "General" ); m_maxCount = config->readNumEntry( "Maximum Recent Addresses", 40 ); addresses = config->readListEntry( "Recent Addresses" ); for ( TQStringList::Iterator it = addresses.begin(); it != addresses.end(); ++it ) { @@ -91,9 +91,9 @@ void RecentAddresses::load( KConfig *config ) adjustSize(); } -void RecentAddresses::save( KConfig *config ) +void RecentAddresses::save( TDEConfig *config ) { - KConfigGroupSaver cs( config, "General" ); + TDEConfigGroupSaver cs( config, "General" ); config->writeEntry( "Recent Addresses", addresses() ); } |