summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/irccontactmanager.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/irccontactmanager.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/irccontactmanager.h')
-rw-r--r--kopete/protocols/irc/irccontactmanager.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/kopete/protocols/irc/irccontactmanager.h b/kopete/protocols/irc/irccontactmanager.h
index 4a8ae05f..18a30111 100644
--- a/kopete/protocols/irc/irccontactmanager.h
+++ b/kopete/protocols/irc/irccontactmanager.h
@@ -18,10 +18,10 @@
#ifndef IRCCONTACTMANAGER_H
#define IRCCONTACTMANAGER_H
-#include <qdict.h>
-#include <qobject.h>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqdict.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
class IRCContact;
class IRCAccount;
@@ -57,60 +57,60 @@ class IRCContactManager
Q_OBJECT
public:
- IRCContactManager(const QString &nickName, IRCAccount *account, const char *name=0);
+ IRCContactManager(const TQString &nickName, IRCAccount *account, const char *name=0);
IRCAccount *account() const { return m_account; }
IRCServerContact *myServer() const { return m_myServer; }
IRCUserContact *mySelf() const { return m_mySelf; }
- IRCChannelContact *findChannel(const QString &channel, Kopete::MetaContact *m=0);
- IRCChannelContact *existChannel(const QString &channel) const;
+ IRCChannelContact *findChannel(const TQString &channel, Kopete::MetaContact *m=0);
+ IRCChannelContact *existChannel(const TQString &channel) const;
- IRCUserContact *findUser(const QString &nick, Kopete::MetaContact *m=0);
- IRCUserContact *existUser(const QString &nick) const;
+ IRCUserContact *findUser(const TQString &nick, Kopete::MetaContact *m=0);
+ IRCUserContact *existUser(const TQString &nick) const;
- IRCContact *findContact(const QString &nick, Kopete::MetaContact *m=0);
- IRCContact *existContact( const QString &id ) const;
+ IRCContact *findContact(const TQString &nick, Kopete::MetaContact *m=0);
+ IRCContact *existContact( const TQString &id ) const;
- QValueList<IRCChannelContact*> findChannelsByMember( IRCUserContact *contact );
+ TQValueList<IRCChannelContact*> findChannelsByMember( IRCUserContact *contact );
- static IRCContact *existContact(const KIRC::Engine *engine, const QString &nick);
+ static IRCContact *existContact(const KIRC::Engine *engine, const TQString &nick);
public slots:
void unregister(Kopete::Contact *contact);
void unregisterUser(Kopete::Contact *contact, bool force = false );
void unregisterChannel(Kopete::Contact *contact, bool force = false );
- void addToNotifyList(const QString &nick);
- void removeFromNotifyList(const QString &nick);
+ void addToNotifyList(const TQString &nick);
+ void removeFromNotifyList(const TQString &nick);
void checkOnlineNotifyList();
signals:
- void privateMessage(IRCContact *from, IRCContact *to, const QString &message);
+ void privateMessage(IRCContact *from, IRCContact *to, const TQString &message);
private slots:
- void slotNewMessage(const QString &originating, const QString &channel, const QString &message);
- void slotNewPrivMessage(const QString &originating, const QString &, const QString &message);
+ void slotNewMessage(const TQString &originating, const TQString &channel, const TQString &message);
+ void slotNewPrivMessage(const TQString &originating, const TQString &, const TQString &message);
void slotIsonRecieved();
void slotIsonTimeout();
- void slotNewNickChange(const QString &oldnick, const QString &newnick);
+ void slotNewNickChange(const TQString &oldnick, const TQString &newnick);
void slotContactAdded( Kopete::MetaContact *contact );
private:
- QDict<IRCChannelContact> m_channels;
- QDict<IRCUserContact> m_users;
+ TQDict<IRCChannelContact> m_channels;
+ TQDict<IRCUserContact> m_users;
IRCAccount *m_account;
IRCServerContact *m_myServer;
IRCUserContact *m_mySelf;
- QStringList m_NotifyList;
- QTimer *m_NotifyTimer;
+ TQStringList m_NotifyList;
+ TQTimer *m_NotifyTimer;
bool isonRecieved;
int socketTimeout;
- static const QRegExp isChannel;
+ static const TQRegExp isChannel;
};
#endif