32 bool parse(
const QDomElement &el);
33 void toXml(QXmlStreamWriter *writer)
const;
36 const std::optional<QDateTime> &lastModified()
const;
37 void setLastModified(
const std::optional<QDateTime> &date);
39 const std::optional<QString> &description()
const;
40 void setDescription(
const std::optional<QString> &description);
42 const QVector<QXmppHash> &hashes()
const;
43 void setHashes(
const QVector<QXmppHash> &hashes);
45 std::optional<uint32_t> height()
const;
46 void setHeight(std::optional<uint32_t> height);
48 std::optional<uint32_t> length()
const;
49 void setLength(std::optional<uint32_t> length);
51 const std::optional<QMimeType> &mediaType()
const;
52 void setMediaType(std::optional<QMimeType> mediaType);
54 std::optional<QString> filename()
const;
55 void setFilename(std::optional<QString>);
57 std::optional<uint64_t> size()
const;
58 void setSize(std::optional<uint64_t> size);
60 const QVector<QXmppThumbnail> &thumbnails()
const;
61 void setThumbnails(
const QVector<QXmppThumbnail> &thumbnail);
63 std::optional<uint32_t> width()
const;
64 void setWidth(std::optional<uint32_t> width);
67 QSharedDataPointer<QXmppFileMetadataPrivate> d;