From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/protocols/meanwhile/meanwhilecontact.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kopete/protocols/meanwhile/meanwhilecontact.cpp') 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 &serializedData, - QMap &addressBookData) +void MeanwhileContact::serialize(TQMap &serializedData, + TQMap &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 contacts; + TQPtrList 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()); -- cgit v1.2.1