aboutsummaryrefslogtreecommitdiff
path: root/src/forms/downloaddialog.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-01-15 15:39:42 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-01-15 15:39:42 +0100
commit8c25c63acf839b09e10d398cfa44d5a45d3ba7c0 (patch)
tree22fa7a27414d12910c1d360b89aac1221f89ab25 /src/forms/downloaddialog.h
parentUpdated firejail profile (diff)
downloadsmolbote-8c25c63acf839b09e10d398cfa44d5a45d3ba7c0.tar.xz
Download manager
Diffstat (limited to 'src/forms/downloaddialog.h')
-rw-r--r--src/forms/downloaddialog.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/forms/downloaddialog.h b/src/forms/downloaddialog.h
new file mode 100644
index 0000000..bec0037
--- /dev/null
+++ b/src/forms/downloaddialog.h
@@ -0,0 +1,26 @@
+#ifndef DOWNLOADDIALOG_H
+#define DOWNLOADDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+class DownloadDialog;
+}
+
+class QWebEngineDownloadItem;
+class DownloadDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit DownloadDialog(QWidget *parent = 0);
+ ~DownloadDialog();
+
+public slots:
+ void addDownload(QWebEngineDownloadItem *item);
+
+private:
+ Ui::DownloadDialog *ui;
+};
+
+#endif // DOWNLOADDIALOG_H