summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq/icqprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/icq/icqprotocol.cpp')
-rw-r--r--kopete/protocols/oscar/icq/icqprotocol.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/oscar/icq/icqprotocol.cpp b/kopete/protocols/oscar/icq/icqprotocol.cpp
index 3e55838e..dad58726 100644
--- a/kopete/protocols/oscar/icq/icqprotocol.cpp
+++ b/kopete/protocols/oscar/icq/icqprotocol.cpp
@@ -28,7 +28,7 @@
#include <tqhostaddress.h>
#include <tqlistbox.h>
#include <tqspinbox.h>
-#include <textedit.h>
+#include <tqtextedit.h>
#include <kdatewidget.h>*/
#include <tqvaluelist.h>
@@ -66,7 +66,7 @@ K_EXPORT_COMPONENT_FACTORY( kopete_icq, ICQProtocolFactory( "kopete_icq" ) )
ICQProtocolHandler::ICQProtocolHandler() : Kopete::MimeTypeHandler(false)
{
- registerAsMimeHandler(TQString::fromLatin1("application/x-icq"));
+ registerAsMimeHandler(TQString::tqfromLatin1("application/x-icq"));
}
void ICQProtocolHandler::handleURL(const TQString &mimeType, const KURL & url) const
@@ -141,11 +141,11 @@ void ICQProtocolHandler::handleURL(const TQString &mimeType, const KURL & url) c
}
TQString nickuin = nick.isEmpty() ?
- i18n("'%1'").arg(uin) :
- i18n("'%1' (%2)").arg(nick, uin);
+ i18n("'%1'").tqarg(uin) :
+ i18n("'%1' (%2)").tqarg(nick, uin);
if (KMessageBox::questionYesNo(Kopete::UI::Global::mainWidget(),
- i18n("Do you want to add %1 to your contact list?").arg(nickuin), TQString(), i18n("Add"), i18n("Do Not Add"))
+ i18n("Do you want to add %1 to your contact list?").tqarg(nickuin), TQString(), i18n("Add"), i18n("Do Not Add"))
!= KMessageBox::Yes)
{
kdDebug(14153) << k_funcinfo << "Cancelled" << endl;
@@ -219,7 +219,7 @@ void ICQProtocol::initGenders()
void ICQProtocol::initCountries()
{
mCountries.insert(0, ""); // unspecified
- KLocale *kl = KGlobal::locale(); //KLocale(TQString::fromLatin1("kopete"));
+ KLocale *kl = KGlobal::locale(); //KLocale(TQString::tqfromLatin1("kopete"));
mCountries.insert(93, kl->twoAlphaToCountryName("af"));
mCountries.insert(355, kl->twoAlphaToCountryName("al"));
@@ -468,7 +468,7 @@ void ICQProtocol::initCountries()
void ICQProtocol::initLang()
{
- KLocale *kl = KGlobal::locale(); //KLocale(TQString::fromLatin1("kopete"));
+ KLocale *kl = KGlobal::locale(); //KLocale(TQString::tqfromLatin1("kopete"));
mLanguages.insert(0 , "");
mLanguages.insert(1 , kl->twoAlphaToLanguageName("ar") /*i18n("Arabic")*/);
@@ -775,8 +775,8 @@ Kopete::Contact *ICQProtocol::deserializeContact( Kopete::MetaContact *metaConta
if ( serializedData.contains( "ssi_waitingAuth" ) )
{
- TQString authStatus = serializedData["ssi_waitingAuth"];
- if ( authStatus == "true" )
+ TQString authtqStatus = serializedData["ssi_waitingAuth"];
+ if ( authtqStatus == "true" )
ssiWaitingAuth = true;
}