summaryrefslogtreecommitdiffstats
path: root/libtdepim/recentaddresses.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 /libtdepim/recentaddresses.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 'libtdepim/recentaddresses.cpp')
-rw-r--r--libtdepim/recentaddresses.cpp12
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() );
}