Changeset 1388 in ntrip


Ignore:
Timestamp:
Dec 29, 2008, 10:34:23 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryv2.cpp

    r1380 r1388  
    2828////////////////////////////////////////////////////////////////////////////
    2929bncNetQueryV2::bncNetQueryV2() {
    30 
    31   connect(this, SIGNAL(newMessage(QByteArray,bool)),
    32           (bncApp*) qApp, SLOT(slotMessage(const QByteArray,bool)));
    33 
    3430  _manager   = new QNetworkAccessManager(this);
    3531  _reply     = 0;
     
    5147void bncNetQueryV2::slotError(QNetworkReply::NetworkError) {
    5248  _status = error;
    53   cout << "slotError " << endl;
    54   emit newMessage("slotError " + _reply->errorString().toAscii(), true);
     49  emit newMessage(_reply->errorString().toAscii(), true);
    5550  _eventLoop->quit();
    5651}
     
    6055    _status = finished;
    6156  }
    62   cout << "slotFinished" << endl;
    63 }
    64 
    65 void bncNetQueryV2::slotReadyRead() {
    66   cout << "slotReadyRead" << endl;
    6757}
    6858
     
    10898  // ---------------
    10999  connect(_reply, SIGNAL(finished()), this, SLOT(slotFinished()));
    110   connect(_reply, SIGNAL(readyRead()), this, SLOT(slotReadyRead()));
    111 
    112100  connect(_reply, SIGNAL(finished()), _eventLoop, SLOT(quit()));
    113101  if (!full) {
  • trunk/BNC/bncnetqueryv2.h

    r1384 r1388  
    1717 private slots:
    1818  void slotError(QNetworkReply::NetworkError);
    19   void slotReadyRead();
    2019  void slotFinished();
    2120
Note: See TracChangeset for help on using the changeset viewer.