diff options
Diffstat (limited to 'kopete/plugins/history/converter.cpp')
-rw-r--r-- | kopete/plugins/history/converter.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
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; |