summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/meanwhile/meanwhilecontact.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/meanwhile/meanwhilecontact.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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());