Changeset 5066 in ntrip for trunk/BNC/src/bncgetthread.cpp
- Timestamp:
- Mar 30, 2013, 11:31:00 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncgetthread.cpp
r4792 r5066 121 121 setTerminationEnabled(true); 122 122 123 bncApp* app = (bncApp*) qApp;124 125 123 connect(this, SIGNAL(newMessage(QByteArray,bool)), 126 app, SLOT(slotMessage(const QByteArray,bool)));124 PGM_CORE, SLOT(slotMessage(const QByteArray,bool))); 127 125 128 126 _isToBeDeleted = false; … … 333 331 settings.value("pppMount").toString() == _staID) { 334 332 _PPPclient = new bncPPPclient(_staID); 335 bncApp* app = (bncApp*) qApp; 336 app->_bncPPPclient = _PPPclient; 333 PGM_CORE->_bncPPPclient = _PPPclient; 337 334 qRegisterMetaType<bncTime>("bncTime"); 338 335 connect(_PPPclient, SIGNAL(newPosition(bncTime, double, double, double)), … … 443 440 if (data.isEmpty()) { 444 441 cout << "no more data" << endl; 445 ((bncApp*) qApp)->stopCombination();442 PGM_CORE->stopCombination(); 446 443 QThread::exit(0); 447 444 delete this; … … 468 465 // ----------- 469 466 if (_rawOutput) { 470 bncApp* app = (bncApp*) qApp; 471 app->writeRawData(data, _staID, _format); 467 PGM_CORE->writeRawData(data, _staID, _format); 472 468 } 473 469
Note:
See TracChangeset
for help on using the changeset viewer.