23 Q_PROPERTY(
float progress READ progress NOTIFY progressChanged)
24 Q_PROPERTY(quint64 bytesSent READ bytesSent NOTIFY progressChanged)
25 Q_PROPERTY(quint64 bytesTotal READ bytesTotal NOTIFY progressChanged)
32 float progress() const;
33 quint64 bytesSent() const;
34 quint64 bytesTotal() const;
37 bool isFinished() const;
38 std::optional<
Result> result() const;
40 Q_SIGNAL
void progressChanged();
48 std::unique_ptr<QXmppHttpUploadPrivate> d;
61 std::shared_ptr<QXmppHttpUpload> uploadFile(std::unique_ptr<QIODevice> data,
const QString &filename,
const QMimeType &mimeType, qint64 fileSize = -1,
const QString &uploadServiceJid = {});
62 std::shared_ptr<QXmppHttpUpload> uploadFile(
const QFileInfo &fileInfo,
const QString &filename = {},
const QString &uploadServiceJid = {});
65 std::unique_ptr<QXmppHttpUploadManagerPrivate> d;
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition QXmppClientExtension.h:33