summaryrefslogtreecommitdiffstats
path: root/ksirc/messageReceiver.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 /ksirc/messageReceiver.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 'ksirc/messageReceiver.h')
-rw-r--r--ksirc/messageReceiver.h24
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