From f21aaec952493cb5688c73de6e82a569ddbd7fb2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:36:20 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kopete/libkopete/kopeteaccountmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kopete/libkopete/kopeteaccountmanager.cpp') diff --git a/kopete/libkopete/kopeteaccountmanager.cpp b/kopete/libkopete/kopeteaccountmanager.cpp index 69f741cb..21f0d688 100644 --- a/kopete/libkopete/kopeteaccountmanager.cpp +++ b/kopete/libkopete/kopeteaccountmanager.cpp @@ -296,7 +296,7 @@ void AccountManager::removeAccount( Account *account ) Protocol *protocol = account->protocol(); - KConfigGroup *configgroup = account->configGroup(); + TDEConfigGroup *configgroup = account->configGroup(); // Clean up the contact list TQDictIterator it( account->contacts() ); @@ -346,7 +346,7 @@ void AccountManager::save() for ( TQPtrListIterator it( d->accounts ); it.current(); ++it ) { - KConfigBase *config = it.current()->configGroup(); + TDEConfigBase *config = it.current()->configGroup(); config->writeEntry( "Protocol", it.current()->protocol()->pluginId() ); config->writeEntry( "AccountId", it.current()->accountId() ); @@ -364,7 +364,7 @@ void AccountManager::load() // and load the required protocols if the account is enabled. // Don't try to optimize duplicate calls out, the plugin queue is smart enough // (and fast enough) to handle that without adding complexity here - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); TQStringList accountGroups = config->groupList().grep( TQRegExp( TQString::fromLatin1( "^Account_" ) ) ); for ( TQStringList::Iterator it = accountGroups.begin(); it != accountGroups.end(); ++it ) { @@ -387,7 +387,7 @@ void AccountManager::slotPluginLoaded( Plugin *plugin ) // Iterate over all groups that start with "Account_" as those are accounts // and parse them if they are from this protocol - KConfig *config = TDEGlobal::config(); + TDEConfig *config = TDEGlobal::config(); TQStringList accountGroups = config->groupList().grep( TQRegExp( TQString::fromLatin1( "^Account_" ) ) ); for ( TQStringList::Iterator it = accountGroups.begin(); it != accountGroups.end(); ++it ) { -- cgit v1.2.1