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/irc/irccontact.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'kopete/protocols/irc/irccontact.h') 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 -#include +#include +#include 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 &serializedData, QMap &addressBookData ); + virtual void serialize( TQMap &serializedData, TQMap &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 mMyself; + TQPtrList mMyself; Kopete::Message::MessageDirection execDir; }; -- cgit v1.2.1