aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/downloaditemform.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-02-23 17:19:32 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-02-23 17:19:32 +0100
commitabd011f7cf8d298b8bbbe30eedb329094d43c0b9 (patch)
tree300909ce22e5c356a4735dbedaf795a594055c9e /src/webengine/downloaditemform.h
parentMinor features (diff)
downloadsmolbote-abd011f7cf8d298b8bbbe30eedb329094d43c0b9.tar.xz
Download manager improvements
Added shortcut for download dialog Dialog has proper title Settings replaces ~ with home location Showing download item details
Diffstat (limited to 'src/webengine/downloaditemform.h')
-rw-r--r--src/webengine/downloaditemform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webengine/downloaditemform.h b/src/webengine/downloaditemform.h
index 841e8bf..0b987b9 100644
--- a/src/webengine/downloaditemform.h
+++ b/src/webengine/downloaditemform.h
@@ -36,6 +36,8 @@ public:
explicit DownloadItemForm(QWebEngineDownloadItem *item, QWidget *parent = 0);
~DownloadItemForm();
+ QWebEngineDownloadItem *item() const;
+
private slots:
void updateState(QWebEngineDownloadItem::DownloadState state);
void updateProgress(qint64 value, qint64 total);
@@ -43,6 +45,7 @@ private slots:
private:
Ui::DownloadItemForm *ui;
+ QWebEngineDownloadItem *m_item;
};
#endif // DOWNLOADITEMFORM_H