source: src/gui/importschedulewidget.h @ 5007fde

qt5
Last change on this file since 5007fde was 5007fde, checked in by pavelpa <pavelpa@…>, 13 years ago

implemented importing the schedule from the Internet

  • Property mode set to 100644
File size: 889 bytes
Line 
1#ifndef IMPORTSCHEDULEWIDGET_H
2#define IMPORTSCHEDULEWIDGET_H
3
4#include <QWidget>
5#include "ui_importschedulewidget.h"
6
7class ScheduleXmlParser;
8class QNetworkAccessManager;
9class QNetworkReply;
10
11class 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    signals:
24        void scheduleImported(int confId);
25    private:
26        void importData(const QByteArray &aData);
27    private:
28        ScheduleXmlParser *mXmlParser;
29        QNetworkAccessManager *mNetworkAccessManager;
30};
31
32#endif /* IMPORTSCHEDULEWIDGET_H */
33
Note: See TracBrowser for help on using the repository browser.