summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/irccontactmanager.h
diff options
context:
space:
mode:
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