blob: 3ccdf5f4a1be2233b30b87a03238d620e14a191f (
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
|
#ifndef MODORGANIZER_DOWNLOADTAB_INCLUDED
#define MODORGANIZER_DOWNLOADTAB_INCLUDED
namespace Ui { class MainWindow; }
class OrganizerCore;
class DownloadListWidget;
class DownloadsTab : public QObject
{
Q_OBJECT;
public:
DownloadsTab(OrganizerCore& core, Ui::MainWindow* ui);
void update();
private:
struct DownloadsTabUi
{
QPushButton* refresh;
DownloadListWidget* list;
QCheckBox* showHidden;
QLineEdit* filter;
};
OrganizerCore& m_core;
DownloadsTabUi ui;
void refresh();
void downloadFilterChanged(const QString &filter);
void resumeDownload(int downloadIndex);
};
#endif // MODORGANIZER_DOWNLOADTAB_INCLUDED
|