diff options
Diffstat (limited to 'kopete/protocols/irc/irccontact.h')
-rw-r--r-- | kopete/protocols/irc/irccontact.h | 38 |
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; }; |