6 #ifndef QXMPPOMEMODEVICEELEMENT_H 7 #define QXMPPOMEMODEVICEELEMENT_H 9 #include "QXmppGlobal.h" 12 class QXmlStreamWriter;
14 class QXMPP_AUTOTEST_EXPORT QXmppOmemoDeviceElement
17 bool operator==(
const QXmppOmemoDeviceElement &other)
const;
20 void setId(uint32_t
id);
22 QString label()
const;
23 void setLabel(
const QString &label);
26 void parse(
const QDomElement &element);
27 void toXml(QXmlStreamWriter *writer)
const;
30 static bool isOmemoDeviceElement(
const QDomElement &element);
37 Q_DECLARE_TYPEINFO(QXmppOmemoDeviceElement, Q_MOVABLE_TYPE);
39 #endif // QXMPPOMEMODEVICEELEMENT_H