Rev | Line | |
---|
[1294] | 1 | #ifndef BNCNETREQUEST_H
|
---|
| 2 | #define BNCNETREQUEST_H
|
---|
| 3 |
|
---|
| 4 | #include <QtNetwork>
|
---|
| 5 | #include "bncconst.h"
|
---|
[1343] | 6 | #include "RTCM/GPSDecoder.h"
|
---|
[1294] | 7 |
|
---|
| 8 | class bncNetRequest : public QObject {
|
---|
| 9 | Q_OBJECT
|
---|
| 10 |
|
---|
| 11 | public:
|
---|
| 12 | bncNetRequest();
|
---|
| 13 | ~bncNetRequest();
|
---|
[1335] | 14 | t_irc request(const QUrl& mountPoint);
|
---|
[1294] | 15 |
|
---|
| 16 | signals:
|
---|
| 17 |
|
---|
| 18 | private slots:
|
---|
[1335] | 19 | void slotReplyFinished();
|
---|
[1294] | 20 | void slotReadyRead();
|
---|
| 21 | void slotError(QNetworkReply::NetworkError);
|
---|
[1342] | 22 | void slotSslErrors(const QList<QSslError>&);
|
---|
[1343] | 23 | void slotNewMessage(QByteArray,bool);
|
---|
[1294] | 24 |
|
---|
| 25 | private:
|
---|
| 26 | QNetworkAccessManager* _manager;
|
---|
| 27 | QNetworkReply* _reply;
|
---|
[1343] | 28 | GPSDecoder* _decoder;
|
---|
[1294] | 29 | };
|
---|
| 30 |
|
---|
| 31 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.