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/QXmppPresence.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/QXmppPresence.h') diff --git a/source/QXmppPresence.h b/source/QXmppPresence.h index 526fbe20..23c570a7 100644 --- a/source/QXmppPresence.h +++ b/source/QXmppPresence.h @@ -87,7 +87,7 @@ public: QXmppPresence::Status& getStatus(); const QXmppPresence::Status& getStatus() const; void setStatus(const QXmppPresence::Status&); - QByteArray toXml() const; + void toXml( QXmlStreamWriter *writer ) const; private: Type m_type; -- cgit v1.2.3