QXmpp: QXmppBitsOfBinaryIq.h Source File

QXmpp Version: 1.14.4

Loading...
Searching...
No Matches
QXmppBitsOfBinaryIq.h
1// SPDX-FileCopyrightText: 2019 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPBITSOFBINARYIQ_H
6#define QXMPPBITSOFBINARYIQ_H
7
8#include "QXmppBitsOfBinaryData.h"
9#include "QXmppIq.h"
10
11 class QXMPP_EXPORT QXmppBitsOfBinaryIq : public QXmppIq, public QXmppBitsOfBinaryData
12{
13public:
14 QXmppBitsOfBinaryIq();
15 ~QXmppBitsOfBinaryIq() override;
16
18 static constexpr std::tuple PayloadXmlTag = { u"data", QXmpp::Private::ns_oob };
19 [[deprecated("Use QXmpp::isIqElement()")]]
20 static bool isBitsOfBinaryIq(const QDomElement &element);
21
22protected:
23 void parseElementFromChild(const QDomElement &element) override;
24 void toXmlElementFromChild(QXmlStreamWriter *writer) const override;
26};
27
28#endif // QXMPPBITSOFBINARYIQ_H
QXmppBitsOfBinaryData::QXmppBitsOfBinaryData
QXmppBitsOfBinaryData()
Definition QXmppBitsOfBinary.cpp:73
QXmppIq::QXmppIq
QXmppIq(QXmppIq::Type type=QXmppIq::Get)
Definition QXmppIq.cpp:39