summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/irccontact.h
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/irc/irccontact.h
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/irc/irccontact.h')
-rw-r--r--kopete/protocols/irc/irccontact.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kopete/protocols/irc/irccontact.h b/kopete/protocols/irc/irccontact.h
index 058315fb..9005f015 100644
--- a/kopete/protocols/irc/irccontact.h
+++ b/kopete/protocols/irc/irccontact.h
@@ -27,8 +27,8 @@
#include "kopetecontact.h"
#include "kopetemessage.h"
-#include <qptrlist.h>
-#include <qmap.h>
+#include <tqptrlist.h>
+#include <tqmap.h>
class IRCProtocol;
class IRCAccount;
@@ -63,8 +63,8 @@ class IRCContact
Q_OBJECT
public:
- IRCContact(IRCAccount *account, KIRC::EntityPtr entity, Kopete::MetaContact *metac, const QString& icon = QString::null);
- IRCContact(IRCContactManager *contactManager, const QString &nick, Kopete::MetaContact *metac, const QString& icon = QString::null);
+ IRCContact(IRCAccount *account, KIRC::EntityPtr entity, Kopete::MetaContact *metac, const TQString& icon = TQString::null);
+ IRCContact(IRCContactManager *contactManager, const TQString &nick, Kopete::MetaContact *metac, const TQString& icon = TQString::null);
virtual ~IRCContact();
IRCAccount *ircAccount() const;
@@ -74,12 +74,12 @@ public:
* Sets the nickname of this contact. The nickname is distinct from the displayName
* in case trackNameChanges is disabled.
*/
- void setNickName(const QString &nickname);
+ void setNickName(const TQString &nickname);
/**
* Returns the nickname / channel name
*/
- const QString &nickName() const { return m_nickName; }
+ const TQString &nickName() const { return m_nickName; }
/**
* This function attempts to find the nickname specified within the current chat
@@ -87,7 +87,7 @@ public:
* exist in this session. More useful for channels. Calling IRCChannelContact::locateUser()
* for example tells you if a user is in a certain channel.
*/
- Kopete::Contact *locateUser( const QString &nickName );
+ Kopete::Contact *locateUser( const TQString &nickName );
virtual bool isReachable();
@@ -97,14 +97,14 @@ public:
*/
bool isChatting( const Kopete::ChatSession *avoid = 0L ) const;
- virtual const QString caption() const;
-// virtual const QString formatedName() const;
+ virtual const TQString caption() const;
+// virtual const TQString formatedName() const;
virtual Kopete::ChatSession *manager(Kopete::Contact::CanCreateFlags = Kopete::Contact::CannotCreate);
virtual void appendMessage( Kopete::Message & );
- const QTextCodec *codec();
+ const TQTextCodec *codec();
KopeteView *view();
@@ -113,40 +113,40 @@ public:
* so that other IRC programs reading this from KAddressBook have a chance of figuring
* which server the contact relates to
*/
- virtual void serialize( QMap<QString, QString> &serializedData, QMap<QString, QString> &addressBookData );
+ virtual void serialize( TQMap<TQString, TQString> &serializedData, TQMap<TQString, TQString> &addressBookData );
signals:
void destroyed(IRCContact *self);
public slots:
- void setCodec( const QTextCodec *codec );
+ void setCodec( const TQTextCodec *codec );
virtual void updateStatus();
protected slots:
virtual void slotSendMsg(Kopete::Message &message, Kopete::ChatSession *);
- QStringList sendMessage( const QString &msg );
+ TQStringList sendMessage( const TQString &msg );
virtual void chatSessionDestroyed();
- void slotNewNickChange( const QString &oldnickname, const QString &newnickname);
- void slotUserDisconnected( const QString &nickname, const QString &reason);
+ void slotNewNickChange( const TQString &oldnickname, const TQString &newnickname);
+ void slotUserDisconnected( const TQString &nickname, const TQString &reason);
virtual void deleteContact();
- virtual void privateMessage(IRCContact *from, IRCContact *to, const QString &message);
+ virtual void privateMessage(IRCContact *from, IRCContact *to, const TQString &message);
virtual void initConversation() {};
void receivedMessage( KIRC::Engine::ServerMessageType type,
const KIRC::EntityPtr &from,
const KIRC::EntityPtrList &to,
- const QString &msg);
+ const TQString &msg);
protected:
KIRC::EntityPtr m_entity;
- QString m_nickName;
+ TQString m_nickName;
Kopete::ChatSession *m_chatSession;
- QPtrList<Kopete::Contact> mMyself;
+ TQPtrList<Kopete::Contact> mMyself;
Kopete::Message::MessageDirection execDir;
};