Changeset 5066 in ntrip for trunk/BNC/src/bncgetthread.cpp


Ignore:
Timestamp:
Mar 30, 2013, 11:31:00 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncgetthread.cpp

    r4792 r5066  
    121121  setTerminationEnabled(true);
    122122
    123   bncApp* app = (bncApp*) qApp;
    124 
    125123  connect(this, SIGNAL(newMessage(QByteArray,bool)),
    126           app, SLOT(slotMessage(const QByteArray,bool)));
     124          PGM_CORE, SLOT(slotMessage(const QByteArray,bool)));
    127125
    128126  _isToBeDeleted = false;
     
    333331      settings.value("pppMount").toString() == _staID) {
    334332    _PPPclient = new bncPPPclient(_staID);
    335     bncApp* app = (bncApp*) qApp;
    336     app->_bncPPPclient = _PPPclient;
     333    PGM_CORE->_bncPPPclient = _PPPclient;
    337334    qRegisterMetaType<bncTime>("bncTime");
    338335    connect(_PPPclient, SIGNAL(newPosition(bncTime, double, double, double)),
     
    443440        if (data.isEmpty()) {
    444441          cout << "no more data" << endl;
    445           ((bncApp*) qApp)->stopCombination();
     442          PGM_CORE->stopCombination();
    446443          QThread::exit(0);
    447444          delete this;
     
    468465      // -----------
    469466      if (_rawOutput) {
    470         bncApp* app = (bncApp*) qApp;
    471         app->writeRawData(data, _staID, _format);
     467        PGM_CORE->writeRawData(data, _staID, _format);
    472468      }
    473469
Note: See TracChangeset for help on using the changeset viewer.