diff options
Diffstat (limited to 'src/lib/downloads/downloadswidget.h')
-rw-r--r-- | src/lib/downloads/downloadswidget.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/lib/downloads/downloadswidget.h b/src/lib/downloads/downloadswidget.h deleted file mode 100644 index 8c9ea21..0000000 --- a/src/lib/downloads/downloadswidget.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * This file is part of smolbote. It's copyrighted by the contributors recorded - * in the version control history of the file, available from its original - * location: git://neueland.iserlohn-fortress.net/smolbote.git - * - * SPDX-License-Identifier: GPL-3.0 - */ - -#ifndef DOWNLOADDIALOG_H -#define DOWNLOADDIALOG_H - -#include <QDialog> - -namespace Ui { -class DownloadDialog; -} - -class QWebEngineDownloadItem; -class DownloadsWidget : public QDialog -{ - Q_OBJECT - -public: - explicit DownloadsWidget(const QString &downloadPath, QWidget *parent = nullptr); - ~DownloadsWidget(); - -public slots: - void addDownload(QWebEngineDownloadItem *item); - -protected: - void resizeEvent(QResizeEvent *event) override; - -private: - Ui::DownloadDialog *ui; - QString m_downloadPath; -}; - -#endif // DOWNLOADDIALOG_H |