blob: f39f4ba587b253ebebb51818fcd4f3bb53e4615d (
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
|
#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
|