- Timestamp:
- Dec 27, 2008, 10:22:48 AM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncnetrequest.cpp
r1337 r1342 69 69 connect(_reply, SIGNAL(error(QNetworkReply::NetworkError)), 70 70 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>&))); 72 73 73 74 … … 87 88 cout << "slotReadyRead" << endl; 88 89 QByteArray buffer = _reply->readAll(); 89 c out<< buffer.data();90 cerr << buffer.data(); 90 91 } 91 92 … … 99 100 // 100 101 //////////////////////////////////////////////////////////////////////////// 101 void bncNetRequest::slotSslErrors( ) {102 void bncNetRequest::slotSslErrors(const QList<QSslError>&) { 102 103 cout << "slotSslError" << endl; 103 104 } -
trunk/BNC/bncnetrequest.h
r1335 r1342 19 19 void slotReadyRead(); 20 20 void slotError(QNetworkReply::NetworkError); 21 void slotSslErrors( );21 void slotSslErrors(const QList<QSslError>&); 22 22 23 23 private: -
trunk/BNC/ntrip2test.cpp
r1338 r1342 13 13 14 14 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); 18 18 19 19 bncNetRequest* req2 = new bncNetRequest();
Note:
See TracChangeset
for help on using the changeset viewer.