From e2be03e254a956024c9d67b19b8a809c9692b6f1 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Tue, 20 Oct 2009 11:43:45 +0000 Subject: Using QXmlStreamWriter for directly writing to the socket. This will avoid string concatenations and problems with XML escaping rules. and Fix for Issue 19: XMPP Version < 1.0 send NonSASL Auth query --- source/QXmppMessage.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/QXmppMessage.h') diff --git a/source/QXmppMessage.h b/source/QXmppMessage.h index ed99eb0e..252d2ba1 100644 --- a/source/QXmppMessage.h +++ b/source/QXmppMessage.h @@ -55,7 +55,8 @@ public: QString getThread() const; void setThread(const QString&); - QByteArray toXml() const; + void toXml(QXmlStreamWriter *writer) const; + private: Type m_type; -- cgit v1.2.3