Changeset 1357 in ntrip for trunk/BNC/bncsocket.h
- Timestamp:
- Dec 27, 2008, 4:03:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncsocket.h
r1356 r1357 5 5 #include "bncconst.h" 6 6 7 class bncSocket : public Q Object{7 class bncSocket : public QThread { 8 8 Q_OBJECT 9 9 … … 33 33 34 34 private slots: 35 #if QT_VERSION >= 0x040400 36 void slotReplyFinished(); 37 void slotReadyRead(); 38 void slotError(QNetworkReply::NetworkError); 35 void slotDone(bool); 36 void slotRequestFinished(int, bool); 37 void slotReadyRead(const QHttpResponseHeader&); 39 38 void slotSslErrors(const QList<QSslError>&); 40 #endif41 39 42 40 private: … … 45 43 int timeOut, QString& msg); 46 44 47 QTcpSocket* _socket; 48 #if QT_VERSION >= 0x040400 49 QNetworkAccessManager* _manager; 50 QNetworkReply* _reply; 51 #endif 45 QTcpSocket* _socket; 46 QHttp* _http; 52 47 }; 53 48
Note:
See TracChangeset
for help on using the changeset viewer.