diff options
Diffstat (limited to 'ksirc/ksircprocess.h')
-rw-r--r-- | ksirc/ksircprocess.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/ksirc/ksircprocess.h b/ksirc/ksircprocess.h index 9a4cf7c3..bf61245a 100644 --- a/ksirc/ksircprocess.h +++ b/ksirc/ksircprocess.h @@ -4,8 +4,8 @@ class KSircProcess; class KSircTopLevel; -#include <qdict.h> -#include <qobject.h> +#include <tqdict.h> +#include <tqobject.h> #include "iocontroller.h" #include "ksircserver.h" @@ -21,45 +21,45 @@ class KSircProcess : public QObject Q_OBJECT friend class KSircIOController; public: - KSircProcess(QString &server_id, KSircServer &kss, QObject * parent=0, const char * name=0); + KSircProcess(TQString &server_id, KSircServer &kss, TQObject * parent=0, const char * name=0); virtual ~KSircProcess(); - QDict<KSircMessageReceiver> &getWindowList() + TQDict<KSircMessageReceiver> &getWindowList() { return TopList; } - QPtrList<KSircMessageReceiver> messageReceivers() const; - const QDict<KSircMessageReceiver> &mrList() const; + TQPtrList<KSircMessageReceiver> messageReceivers() const; + const TQDict<KSircMessageReceiver> &mrList() const; - QString serverName() const { return m_kss.server(); } - QString serverPort() const { return m_kss.port(); } - QString serverID() const { return m_serverid; } + TQString serverName() const { return m_kss.server(); } + TQString serverPort() const { return m_kss.port(); } + TQString serverID() const { return m_serverid; } KSircIOController *getIOController() { return iocontrol; } - const QString getNick() const; - void setNick(const QString nick); + const TQString getNick() const; + void setNick(const TQString nick); signals: - void ProcMessage(QString, int, QString); + void ProcMessage(TQString, int, TQString); public slots: - virtual void ServMessage(QString server, int command, QString args); - virtual void close_toplevel(KSircTopLevel *, QString); + virtual void ServMessage(TQString server, int command, TQString args); + virtual void close_toplevel(KSircTopLevel *, TQString); virtual void default_window(KSircTopLevel *); - virtual void recvChangeChannel(const QString &, const QString &); + virtual void recvChangeChannel(const TQString &, const TQString &); virtual void new_toplevel(const KSircChannel &, bool safe = false); virtual void filters_update(); - virtual void notify_forw_online(QString); - virtual void notify_forw_offline(QString); + virtual void notify_forw_online(TQString); + virtual void notify_forw_offline(TQString); protected slots: - virtual void clean_toplevel(QObject *clean); - virtual void request_quit( const QCString& command ); + virtual void clean_toplevel(TQObject *clean); + virtual void request_quit( const TQCString& command ); virtual void do_quit(); virtual void turn_on_autocreate(); @@ -72,19 +72,19 @@ private: KSircIOController *iocontrol; KProcess *proc; - QDict<KSircMessageReceiver> TopList; + TQDict<KSircMessageReceiver> TopList; bool running_window; bool default_follow_focus; bool auto_create_really; KSircServer m_kss; - const QString m_serverid; + const TQString m_serverid; /* * m_nick is our nick as reported by the lower levels */ - QString m_nick; + TQString m_nick; // char *server; }; |