Changeset 1225 in ntrip
- Timestamp:
- Nov 22, 2008, 2:54:46 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.cpp
r1224 r1225 403 403 bncGetThread* getThread = new bncGetThread(url, format, latitude, 404 404 longitude, nmea, iMount); 405 406 bncApp* app = (bncApp*) qApp;407 app->connect(getThread, SIGNAL(newMessage(QByteArray)),408 app, SLOT(slotMessage(const QByteArray)));409 405 addGetThread(getThread); 410 406 } -
trunk/BNC/bncgetthread.cpp
r1218 r1225 108 108 //////////////////////////////////////////////////////////////////////////// 109 109 void bncGetThread::initialize() { 110 111 112 bncApp* app = (bncApp*) qApp; 113 app->connect(this, SIGNAL(newMessage(QByteArray)), 114 app, SLOT(slotMessage(const QByteArray))); 110 115 111 116 _decoder = 0; -
trunk/BNC/bncmain.cpp
r1179 r1225 164 164 165 165 app.connect(caster, SIGNAL(getThreadErrors()), &app, SLOT(quit())); 166 app.connect(caster, SIGNAL(newMessage(QByteArray)),167 &app, SLOT(slotMessage(QByteArray)));168 166 169 167 ((bncApp*)qApp)->slotMessage("============ Start BNC ============"); … … 194 192 195 193 bncGetThread* getThread = new bncGetThread(fileName, format); 196 app.connect(getThread, SIGNAL(newMessage(QByteArray)),197 &app, SLOT(slotMessage(const QByteArray)));198 199 194 caster->addGetThread(getThread); 200 195 }
Note:
See TracChangeset
for help on using the changeset viewer.