diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-05-31 12:22:48 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-08-13 15:55:03 +0200 |
| commit | f0e0e1cd227c08ffd97aa42813a479b8c3ca6d23 (patch) | |
| tree | 12ca6aefdef9195ee8937406db86e73cf1a5f820 /src/base/QXmppOmemoDeviceElement_p.h | |
| parent | 87df8a8dda385558d39639ce09e2717974264ab6 (diff) | |
| download | qxmpp-f0e0e1cd227c08ffd97aa42813a479b8c3ca6d23.tar.gz | |
Split up OMEMO into extra module
Diffstat (limited to 'src/base/QXmppOmemoDeviceElement_p.h')
| -rw-r--r-- | src/base/QXmppOmemoDeviceElement_p.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/base/QXmppOmemoDeviceElement_p.h b/src/base/QXmppOmemoDeviceElement_p.h deleted file mode 100644 index 1c391e30..00000000 --- a/src/base/QXmppOmemoDeviceElement_p.h +++ /dev/null @@ -1,39 +0,0 @@ -// SPDX-FileCopyrightText: 2021 Germán Márquez Mejía <mancho@olomono.de> -// SPDX-FileCopyrightText: 2021 Melvin Keskin <melvo@olomono.de> -// -// SPDX-License-Identifier: LGPL-2.1-or-later - -#ifndef QXMPPOMEMODEVICEELEMENT_H -#define QXMPPOMEMODEVICEELEMENT_H - -#include "QXmppGlobal.h" - -class QDomElement; -class QXmlStreamWriter; - -class QXMPP_AUTOTEST_EXPORT QXmppOmemoDeviceElement -{ -public: - bool operator==(const QXmppOmemoDeviceElement &other) const; - - uint32_t id() const; - void setId(uint32_t id); - - QString label() const; - void setLabel(const QString &label); - - /// \cond - void parse(const QDomElement &element); - void toXml(QXmlStreamWriter *writer) const; - /// \endcond - - static bool isOmemoDeviceElement(const QDomElement &element); - -private: - uint32_t m_id = 0; - QString m_label; -}; - -Q_DECLARE_TYPEINFO(QXmppOmemoDeviceElement, Q_MOVABLE_TYPE); - -#endif // QXMPPOMEMODEVICEELEMENT_H |
