source: ntrip/branches/BNC_2.12/src/bncnetqueryv2.h@ 8820

Last change on this file since 8820 was 7513, checked in by weber, 9 years ago

Keyname 'ignoreSslErrors' changed to 'sslIngoreErrors'

File size: 971 bytes
Line 
1#ifndef BNCNETQUERYV2_H
2#define BNCNETQUERYV2_H
3
4#include "bncnetquery.h"
5
6class bncNetQueryV2 : public bncNetQuery {
7 Q_OBJECT
8
9 public:
10 bncNetQueryV2(bool secure);
11 virtual ~bncNetQueryV2();
12
13 virtual void stop();
14 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData);
15 virtual void startRequest(const QUrl& url, const QByteArray& gga);
16 virtual void keepAliveRequest(const QUrl& url, const QByteArray& gga);
17 virtual void waitForReadyRead(QByteArray& outData);
18
19 private slots:
20 void slotFinished();
21 void slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*);
22 void slotSslErrors(QList<QSslError>);
23
24 private:
25 void startRequestPrivate(const QUrl& url, const QByteArray& gga, bool full);
26
27 QNetworkAccessManager* _manager;
28 QNetworkReply* _reply;
29 QEventLoop* _eventLoop;
30 bool _firstData;
31 bool _secure;
32 bool _sslIgnoreErrors;
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.