equal
deleted
inserted
replaced
21 |
21 |
22 #include <QUrl> |
22 #include <QUrl> |
23 #include "AbstractPage.h" |
23 #include "AbstractPage.h" |
24 |
24 |
25 class QTextBrowser; |
25 class QTextBrowser; |
|
26 class QProgressBar; |
|
27 class QNetworkReply; |
|
28 class QVBoxLayout; |
26 |
29 |
27 class PageDataDownload : public AbstractPage |
30 class PageDataDownload : public AbstractPage |
28 { |
31 { |
29 Q_OBJECT |
32 Q_OBJECT |
30 |
33 |
31 public: |
34 public: |
32 PageDataDownload(QWidget* parent = 0); |
35 PageDataDownload(QWidget* parent = 0); |
33 |
36 |
34 QPushButton *BtnBack; |
37 QPushButton *BtnBack; |
|
38 |
|
39 public slots: |
|
40 void fetchList(); |
|
41 |
|
42 private: |
35 QTextBrowser *web; |
43 QTextBrowser *web; |
|
44 QHash<QNetworkReply*, QProgressBar *> progressBars; |
|
45 QVBoxLayout *progressBarsLayout; |
36 |
46 |
37 private slots: |
47 private slots: |
38 void install(const QUrl &url); |
48 void install(const QUrl &url); |
39 |
49 |
40 void downloadIssueFinished(); |
50 void pageDownloaded(); |
|
51 void fileDownloaded(); |
|
52 void downloadProgress(qint64, qint64); |
41 }; |
53 }; |
42 |
54 |
43 #endif |
55 #endif |