diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-15 15:39:42 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-15 15:39:42 +0100 |
commit | 8c25c63acf839b09e10d398cfa44d5a45d3ba7c0 (patch) | |
tree | 22fa7a27414d12910c1d360b89aac1221f89ab25 /src/webengine/downloaditemform.h | |
parent | Updated firejail profile (diff) | |
download | smolbote-8c25c63acf839b09e10d398cfa44d5a45d3ba7c0.tar.xz |
Download manager
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 |