summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/meanwhile/meanwhilecontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/meanwhile/meanwhilecontact.cpp')
-rw-r--r--kopete/protocols/meanwhile/meanwhilecontact.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/protocols/meanwhile/meanwhilecontact.cpp b/kopete/protocols/meanwhile/meanwhilecontact.cpp
index fd30bc46..e77d470a 100644
--- a/kopete/protocols/meanwhile/meanwhilecontact.cpp
+++ b/kopete/protocols/meanwhile/meanwhilecontact.cpp
@@ -29,7 +29,7 @@
#include "meanwhilecontact.h"
#include "meanwhileplugin.h"
-MeanwhileContact::MeanwhileContact(QString userId, QString nickname,
+MeanwhileContact::MeanwhileContact(TQString userId, TQString nickname,
MeanwhileAccount *account, Kopete::MetaContact *parent)
: Kopete::Contact(account, userId, parent)
{
@@ -49,8 +49,8 @@ bool MeanwhileContact::isReachable()
return isOnline();
}
-void MeanwhileContact::serialize(QMap<QString, QString> &serializedData,
- QMap<QString, QString> &addressBookData)
+void MeanwhileContact::serialize(TQMap<TQString, TQString> &serializedData,
+ TQMap<TQString, TQString> &addressBookData)
{
Kopete::Contact::serialize(serializedData, addressBookData);
}
@@ -70,25 +70,25 @@ Kopete::ChatSession* MeanwhileContact::manager(CanCreateFlags canCreate)
if (m_msgManager != 0L || canCreate == Kopete::Contact::CannotCreate)
return m_msgManager;
- QPtrList<Kopete::Contact> contacts;
+ TQPtrList<Kopete::Contact> contacts;
contacts.append(this);
m_msgManager = Kopete::ChatSessionManager::self()->
create(account()->myself(), contacts, protocol());
connect(m_msgManager,
- SIGNAL(messageSent(Kopete::Message&, Kopete::ChatSession*)),
- this, SLOT(sendMessage(Kopete::Message&)));
+ TQT_SIGNAL(messageSent(Kopete::Message&, Kopete::ChatSession*)),
+ this, TQT_SLOT(sendMessage(Kopete::Message&)));
- connect(m_msgManager, SIGNAL(myselfTyping(bool)),
- this, SLOT(slotSendTyping(bool)));
+ connect(m_msgManager, TQT_SIGNAL(myselfTyping(bool)),
+ this, TQT_SLOT(slotSendTyping(bool)));
- connect(m_msgManager, SIGNAL(destroyed()),
- this, SLOT(slotChatSessionDestroyed()));
+ connect(m_msgManager, TQT_SIGNAL(destroyed()),
+ this, TQT_SLOT(slotChatSessionDestroyed()));
return m_msgManager;
}
-QString MeanwhileContact::meanwhileId() const
+TQString MeanwhileContact::meanwhileId() const
{
return m_meanwhileId;
}
@@ -104,7 +104,7 @@ void MeanwhileContact::slotSendTyping(bool isTyping)
sendTyping(this, isTyping);
}
-void MeanwhileContact::receivedMessage(const QString &message)
+void MeanwhileContact::receivedMessage(const TQString &message)
{
Kopete::ContactPtrList contactList;
contactList.append(account()->myself());