diff options
Diffstat (limited to 'src/webengine/api/qquickwebenginedownloaditem_p.h')
-rw-r--r-- | src/webengine/api/qquickwebenginedownloaditem_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webengine/api/qquickwebenginedownloaditem_p.h b/src/webengine/api/qquickwebenginedownloaditem_p.h index 9d1a5a211..46b39fe0a 100644 --- a/src/webengine/api/qquickwebenginedownloaditem_p.h +++ b/src/webengine/api/qquickwebenginedownloaditem_p.h @@ -84,6 +84,7 @@ public: Q_PROPERTY(SavePageFormat savePageFormat READ savePageFormat WRITE setSavePageFormat NOTIFY savePageFormatChanged) Q_PROPERTY(qint64 totalBytes READ totalBytes NOTIFY totalBytesChanged) Q_PROPERTY(qint64 receivedBytes READ receivedBytes NOTIFY receivedBytesChanged) + Q_PROPERTY(QString mimeType READ mimeType NOTIFY mimeTypeChanged REVISION 1) Q_PROPERTY(QString path READ path WRITE setPath NOTIFY pathChanged) Q_INVOKABLE void accept(); @@ -93,6 +94,7 @@ public: DownloadState state() const; qint64 totalBytes() const; qint64 receivedBytes() const; + QString mimeType() const; QString path() const; void setPath(QString path); SavePageFormat savePageFormat() const; @@ -103,6 +105,7 @@ Q_SIGNALS: void savePageFormatChanged(); void receivedBytesChanged(); void totalBytesChanged(); + void mimeTypeChanged(); void pathChanged(); private: |