QXmpp: QXmppOmemoIq_p.h Source File

QXmpp Version: 1.14.2

Loading...
Searching...
No Matches
QXmppOmemoIq_p.h
1// SPDX-FileCopyrightText: 2022 Melvin Keskin <melvo@olomono.de>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPOMEMOIQ_H
6#define QXMPPOMEMOIQ_H
7
8#include "QXmppIq.h"
9#include "QXmppOmemoElement_p.h"
10
11class QXMPP_AUTOTEST_EXPORT QXmppOmemoIq : public QXmppIq
12{
13public:
14 QXmppOmemoElement omemoElement();
15 void setOmemoElement(const QXmppOmemoElement &omemoElement);
16
18 void parseElementFromChild(const QDomElement &element) override;
19 void toXmlElementFromChild(QXmlStreamWriter *writer) const override;
21
22 static bool isOmemoIq(const QDomElement &element);
23
24private:
25 QXmppOmemoElement m_omemoElement;
26};
27
28#endif // QXMPPOMEMOIQ_H
QXmppIq
The QXmppIq class is the base class for all IQs.
Definition QXmppIq.h:23