Changeset 1379 in ntrip
- Timestamp:
- Dec 29, 2008, 9:19:33 AM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/bncnetquery.h ¶
r1374 r1379 12 12 13 13 bncNetQuery(); 14 ~bncNetQuery(); 14 virtual ~bncNetQuery(); 15 15 16 void waitForRequestResult(const QUrl& url, QByteArray& outData); 17 void startRequest(const QUrl& url); 18 void waitForReadyRead(QByteArray& outData); 16 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData) = 0; 17 virtual void startRequest(const QUrl& url) = 0; 18 virtual void waitForReadyRead(QByteArray& outData) = 0; 19 19 20 20 queryStatus status() const {return _status;} … … 24 24 25 25 private slots: 26 void slotError(QNetworkReply::NetworkError);27 void slotReadyRead();28 void slotFinished();29 26 30 private: 31 void startRequest(const QUrl& url, bool full); 32 33 QNetworkAccessManager* _manager; 34 QNetworkReply* _reply; 35 QEventLoop* _eventLoop; 27 protected: 36 28 queryStatus _status; 37 29 }; -
TabularUnified trunk/BNC/bncnetqueryv2.cpp ¶
r1378 r1379 18 18 #include <iomanip> 19 19 20 #include "bnc NetQueryV2.h"20 #include "bncnetqueryv2.h" 21 21 #include "bncapp.h" 22 22 -
TabularUnified trunk/BNC/bncnetqueryv2.h ¶
r1378 r1379 8 8 9 9 public: 10 enum queryStatus {init, running, finished, error};11 12 10 bncNetQueryV2(); 13 11 virtual ~bncNetQueryV2();
Note:
See TracChangeset
for help on using the changeset viewer.