From c48e769eb275917717e2b55eb869f7e559293ac8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:48:31 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kopete/plugins/history/converter.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kopete/plugins/history/converter.cpp') diff --git a/kopete/plugins/history/converter.cpp b/kopete/plugins/history/converter.cpp index 2bf748ce..1c5c573d 100644 --- a/kopete/plugins/history/converter.cpp +++ b/kopete/plugins/history/converter.cpp @@ -71,32 +71,32 @@ void HistoryPlugin::convertOldHistory() if(fi->fileName() == "MSNProtocol" || fi->fileName() == "msn_logs" ) { protocolId="MSNProtocol"; - KGlobal::config()->setGroup("MSN"); - accountId=KGlobal::config()->readEntry( "UserID" ); + TDEGlobal::config()->setGroup("MSN"); + accountId=TDEGlobal::config()->readEntry( "UserID" ); } else if(fi->fileName() == "ICTQProtocol" || fi->fileName() == "icq_logs" ) { protocolId="ICTQProtocol"; - KGlobal::config()->setGroup("ICQ"); - accountId=KGlobal::config()->readEntry( "UIN" ); + TDEGlobal::config()->setGroup("ICQ"); + accountId=TDEGlobal::config()->readEntry( "UIN" ); } else if(fi->fileName() == "AIMProtocol" || fi->fileName() == "aim_logs" ) { protocolId="AIMProtocol"; - KGlobal::config()->setGroup("AIM"); - accountId=KGlobal::config()->readEntry( "UserID" ); + TDEGlobal::config()->setGroup("AIM"); + accountId=TDEGlobal::config()->readEntry( "UserID" ); } else if(fi->fileName() == "OscarProtocol" ) { protocolId="AIMProtocol"; - KGlobal::config()->setGroup("OSCAR"); - accountId=KGlobal::config()->readEntry( "UserID" ); + TDEGlobal::config()->setGroup("OSCAR"); + accountId=TDEGlobal::config()->readEntry( "UserID" ); } else if(fi->fileName() == "JabberProtocol" || fi->fileName() == "jabber_logs") { protocolId="JabberProtocol"; - KGlobal::config()->setGroup("Jabber"); - accountId=KGlobal::config()->readEntry( "UserID" ); + TDEGlobal::config()->setGroup("Jabber"); + accountId=TDEGlobal::config()->readEntry( "UserID" ); } //TODO: gadu, wp } @@ -303,8 +303,8 @@ void HistoryPlugin::convertOldHistory() bool HistoryPlugin::detectOldHistory() { - KGlobal::config()->setGroup("History Plugin"); - TQString version=KGlobal::config()->readEntry( "Version" ,"0.6" ); + TDEGlobal::config()->setGroup("History Plugin"); + TQString version=TDEGlobal::config()->readEntry( "Version" ,"0.6" ); if(version != "0.6") return false; -- cgit v1.2.1