Changeset 1357 in ntrip for trunk/BNC/bncsocket.h


Ignore:
Timestamp:
Dec 27, 2008, 4:03:38 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncsocket.h

    r1356 r1357  
    55#include "bncconst.h"
    66
    7 class bncSocket : public QObject {
     7class bncSocket : public QThread {
    88 Q_OBJECT
    99
     
    3333
    3434 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&);
    3938  void slotSslErrors(const QList<QSslError>&);
    40 #endif
    4139
    4240 private:
     
    4543                 int timeOut, QString& msg);
    4644
    47   QTcpSocket*            _socket;
    48 #if QT_VERSION >= 0x040400
    49   QNetworkAccessManager* _manager;
    50   QNetworkReply*         _reply;
    51 #endif
     45  QTcpSocket* _socket;
     46  QHttp*      _http;     
    5247};
    5348
Note: See TracChangeset for help on using the changeset viewer.