diff options
Diffstat (limited to 'ksirc/messageReceiver.h')
-rw-r--r-- | ksirc/messageReceiver.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksirc/messageReceiver.h b/ksirc/messageReceiver.h index a86817b0..e70e82f3 100644 --- a/ksirc/messageReceiver.h +++ b/ksirc/messageReceiver.h @@ -2,8 +2,8 @@ #ifndef KMESSAGERECEIVER_H #define KMESSAGERECEIVER_H -#include <qstring.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqptrlist.h> class KSircProcess; class QTextCodec; @@ -15,7 +15,7 @@ struct filterRule { const char *to; }; -typedef QPtrList<filterRule> filterRuleList; +typedef TQPtrList<filterRule> filterRuleList; class KSircMessageReceiver { @@ -23,9 +23,9 @@ public: KSircMessageReceiver(KSircProcess *_proc); virtual ~KSircMessageReceiver(); - virtual void sirc_receive(QCString str, bool broadcast = false) = 0; + virtual void sirc_receive(TQCString str, bool broadcast = false) = 0; - virtual void control_message(int, QString) = 0; + virtual void control_message(int, TQString) = 0; bool getBroadcast(); void setBroadcast(bool bd); @@ -45,18 +45,18 @@ class UnicodeMessageReceiver : public KSircMessageReceiver public: UnicodeMessageReceiver( KSircProcess *process ); - virtual void sirc_receive(QCString str, bool broadcast = false); - virtual void sirc_receive(QString str, bool broadcast = false) = 0; + virtual void sirc_receive(TQCString str, bool broadcast = false); + virtual void sirc_receive(TQString str, bool broadcast = false) = 0; protected: - void setEncoding( const QString &encoding ); - QString encoding() const; + void setEncoding( const TQString &encoding ); + TQString encoding() const; - QTextCodec *encoder() const; + TQTextCodec *encoder() const; private: - QString m_encoding; - QTextCodec *m_encoder; + TQString m_encoding; + TQTextCodec *m_encoder; }; #endif |