qt5
Last change
on this file since a023fd2 was
a023fd2,
checked in by pavelpa <pavelpa@…>, 12 years ago
|
implemented 'proxy settings' dialog
- user can secify proxy for network communication
|
-
Property mode set to
100644
|
File size:
916 bytes
|
Line | |
---|
1 | #ifndef IMPORTSCHEDULEWIDGET_H |
---|
2 | #define IMPORTSCHEDULEWIDGET_H |
---|
3 | |
---|
4 | #include <QWidget> |
---|
5 | #include "ui_importschedulewidget.h" |
---|
6 | |
---|
7 | class ScheduleXmlParser; |
---|
8 | class QNetworkAccessManager; |
---|
9 | class QNetworkReply; |
---|
10 | |
---|
11 | class ImportScheduleWidget : public QWidget, Ui::ImportScheduleWidget |
---|
12 | { |
---|
13 | Q_OBJECT |
---|
14 | public: |
---|
15 | ImportScheduleWidget(QWidget *aParent = NULL); |
---|
16 | ~ImportScheduleWidget(); |
---|
17 | private slots: |
---|
18 | void browseSchedule(); |
---|
19 | void parsingSchedule(const QString &aTitle); |
---|
20 | void showParsingProgress(int progress); |
---|
21 | void networkQueryFinished(QNetworkReply *aReply); |
---|
22 | void downloadSchedule(); |
---|
23 | void setupProxy(); |
---|
24 | signals: |
---|
25 | void scheduleImported(int confId); |
---|
26 | private: |
---|
27 | void importData(const QByteArray &aData); |
---|
28 | private: |
---|
29 | ScheduleXmlParser *mXmlParser; |
---|
30 | QNetworkAccessManager *mNetworkAccessManager; |
---|
31 | }; |
---|
32 | |
---|
33 | #endif /* IMPORTSCHEDULEWIDGET_H */ |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.