From 084eb01fb395488a0a3aee799be2b72ce11aa220 Mon Sep 17 00:00:00 2001 From: Niels Ole Salscheider Date: Sun, 12 Feb 2017 17:18:06 +0100 Subject: Implement XEP-0198: Stream Management (client only) (#99) * Some features can be available with different namespaces (e.g. SM) * Provide static functions to convert between strings and stream errors Stream management will reuse this for . * [travis] test builds using clang * Implement XEP-0198: Stream Management (client only) * QXmppOutgoingClient: Move private methods to QXmppOutgoingClientPrivate --- src/base/QXmppIq.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/base/QXmppIq.cpp') diff --git a/src/base/QXmppIq.cpp b/src/base/QXmppIq.cpp index dee0cb83..3e579726 100644 --- a/src/base/QXmppIq.cpp +++ b/src/base/QXmppIq.cpp @@ -91,6 +91,14 @@ void QXmppIq::setType(QXmppIq::Type type) d->type = type; } +/// Indicates if the QXmppStanza is a stanza in the XMPP sence (i. e. a message, +/// iq or presence) + +bool QXmppIq::isXmppStanza() const +{ + return true; +} + /// \cond void QXmppIq::parse(const QDomElement &element) { -- cgit v1.2.3