QXmpp Version: 1.5.6
Loading...
Searching...
No Matches
QXmppBitsOfBinaryDataList.h
1// SPDX-FileCopyrightText: 2019 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPBITSOFBINARYDATACONTAINER_H
6#define QXMPPBITSOFBINARYDATACONTAINER_H
7
8#include "QXmppBitsOfBinaryData.h"
9
10#include <QVector>
11
12class QDomElement;
13class QXmlStreamWriter;
14
15class QXMPP_EXPORT QXmppBitsOfBinaryDataList : public QVector<QXmppBitsOfBinaryData>
16{
17public:
20
22 QXmppBitsOfBinaryDataList(const QVector<QXmppBitsOfBinaryData> &data) : QVector<QXmppBitsOfBinaryData>(data) { }
23 QXmppBitsOfBinaryDataList(QVector<QXmppBitsOfBinaryData> &&data) : QVector<QXmppBitsOfBinaryData>(std::move(data)) { }
24
25 void parse(const QDomElement &element);
26 void toXml(QXmlStreamWriter *writer) const;
28};
29
30#endif // QXMPPBITSOFBINARYDATACONTAINER_H
Definition QXmppBitsOfBinaryDataList.h:16