Changeset 9719 in ntrip for trunk/BNC/src
- Timestamp:
- May 17, 2022, 10:25:59 PM (3 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncnetquery.h
r8252 r9719 15 15 16 16 bncNetQuery() { 17 connect(this, SIGNAL(newMessage(QByteArray,bool)), 17 connect(this, SIGNAL(newMessage(QByteArray,bool)), 18 18 BNC_CORE, SLOT(slotMessage(const QByteArray,bool))); 19 19 } 20 20 virtual ~bncNetQuery() {} 21 21 22 22 virtual void stop() = 0; 23 23 virtual void waitForRequestResult(const QUrl& url, QByteArray& outData) = 0; … … 25 25 virtual void keepAliveRequest(const QUrl& url, const QByteArray& gga) = 0; 26 26 virtual void waitForReadyRead(QByteArray& outData) = 0; 27 27 28 28 void sendNMEA(const QByteArray& gga) { 29 29 keepAliveRequest(_url, gga); -
trunk/BNC/src/bncnetqueryv2.cpp
r9708 r9719 153 153 // Connect Signals 154 154 // --------------- 155 connect(_reply, SIGNAL(sslErrors(QList<QSslError>)),this, SLOT(slotSslErrors(QList<QSslError>))); 155 156 connect(_reply, SIGNAL(finished()), this, SLOT(slotFinished())); 156 157 connect(_reply, SIGNAL(finished()), _eventLoop, SLOT(quit())); 157 connect(_reply, SIGNAL(sslErrors(QList<QSslError>)),158 this, SLOT(slotSslErrors(QList<QSslError>)));159 158 if (!full) { 160 159 connect(_reply, SIGNAL(readyRead()), _eventLoop, SLOT(quit())); … … 213 212 cert.issuerInfo(QSslCertificate::OrganizationalUnitName).count() && 214 213 cert.issuerInfo(QSslCertificate::Organization).count()) { 214 215 215 msg += QString("Server Certificate Issued by:\n" 216 216 "%1\n%2\nCannot be verified\n") … … 223 223 #endif 224 224 } 225 225 226 QListIterator<QSslError> it(errors); 226 227 while (it.hasNext()) { … … 228 229 msg += "\n" + err.errorString(); 229 230 } 230 231 231 BNC_CORE->slotMessage(msg.toLatin1(), true); 232 232
Note:
See TracChangeset
for help on using the changeset viewer.