Changeset 1342 in ntrip for trunk


Ignore:
Timestamp:
Dec 27, 2008, 10:22:48 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetrequest.cpp

    r1337 r1342  
    6969  connect(_reply, SIGNAL(error(QNetworkReply::NetworkError)),
    7070          this, SLOT(slotError(QNetworkReply::NetworkError)));
    71   ///  connect(_reply, SIGNAL(sslErrors()), this, SLOT(slotSslErrors()));
     71  connect(_reply, SIGNAL(sslErrors(const QList<QSslError>&)),
     72          this, SLOT(slotSslErrors(const QList<QSslError>&)));
    7273
    7374
     
    8788  cout << "slotReadyRead" << endl;
    8889  QByteArray buffer = _reply->readAll();
    89   cout << buffer.data();
     90  cerr << buffer.data();
    9091}
    9192
     
    99100//
    100101////////////////////////////////////////////////////////////////////////////
    101 void bncNetRequest::slotSslErrors() {
     102void bncNetRequest::slotSslErrors(const QList<QSslError>&) {
    102103  cout << "slotSslError" << endl;
    103104}
  • trunk/BNC/bncnetrequest.h

    r1335 r1342  
    1919  void slotReadyRead();
    2020  void slotError(QNetworkReply::NetworkError);
    21   void slotSslErrors();
     21  void slotSslErrors(const QList<QSslError>&);
    2222
    2323 private:
  • trunk/BNC/ntrip2test.cpp

    r1338 r1342  
    1313
    1414
    15   bncNetRequest* req1 = new bncNetRequest();
    16   QUrl url1("http://euref-ip.bkg.bund.de:2111/");
    17   req1->request(url1);
     15//  bncNetRequest* req1 = new bncNetRequest();
     16//  QUrl url1("http://euref-ip.bkg.bund.de:2111/");
     17//  req1->request(url1);
    1818
    1919  bncNetRequest* req2 = new bncNetRequest();
Note: See TracChangeset for help on using the changeset viewer.