blob: f0b85d918a6e47162908cd75534ba0407f1fe030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef MODORGANIZER_DOWNLOADTAB_INCLUDED
#define MODORGANIZER_DOWNLOADTAB_INCLUDED
#include <filterwidget.h>
namespace Ui
{
class MainWindow;
}
class OrganizerCore;
class DownloadListView;
class DownloadsTab : public QObject
{
Q_OBJECT;
public:
DownloadsTab(OrganizerCore& core, Ui::MainWindow* ui);
void update();
private:
struct DownloadsTabUi
{
QPushButton* refresh;
DownloadListView* list;
QCheckBox* showHidden;
QLineEdit* filter;
};
OrganizerCore& m_core;
DownloadsTabUi ui;
MOBase::FilterWidget m_filter;
void refresh();
void resumeDownload(int downloadIndex);
};
#endif // MODORGANIZER_DOWNLOADTAB_INCLUDED
|