diff options
Diffstat (limited to 'src/webengine/downloaditemform.h')
-rw-r--r-- | src/webengine/downloaditemform.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/webengine/downloaditemform.h b/src/webengine/downloaditemform.h new file mode 100644 index 0000000..996b876 --- /dev/null +++ b/src/webengine/downloaditemform.h @@ -0,0 +1,28 @@ +#ifndef DOWNLOADITEMFORM_H +#define DOWNLOADITEMFORM_H + +#include <QWidget> +#include <QWebEngineDownloadItem> + +namespace Ui { +class DownloadItemForm; +} + +class DownloadItemForm : public QWidget +{ + Q_OBJECT + +public: + explicit DownloadItemForm(QWebEngineDownloadItem *item, QWidget *parent = 0); + ~DownloadItemForm(); + +private slots: + void updateState(QWebEngineDownloadItem::DownloadState state); + void updateProgress(qint64 value, qint64 total); + void updateFinished(); + +private: + Ui::DownloadItemForm *ui; +}; + +#endif // DOWNLOADITEMFORM_H |