Changeset 8127 in ntrip for trunk/BNC/src/bnccaster.cpp
- Timestamp:
- May 10, 2017, 3:20:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccaster.cpp
r8119 r8127 208 208 emit( newMessage(QString("%1: Old epoch %2 thrown away") 209 209 .arg(staID.data()).arg(string(obs._time).c_str()) 210 .to Ascii(), true) );210 .toLatin1(), true) ); 211 211 } 212 212 } … … 232 232 _sockets->push_back( _server->nextPendingConnection() ); 233 233 emit( newMessage(QString("New client connection on sync port: # %1") 234 .arg(_sockets->size()).to Ascii(), true) );234 .arg(_sockets->size()).toLatin1(), true) ); 235 235 } 236 236 … … 238 238 _uSockets->push_back( _uServer->nextPendingConnection() ); 239 239 emit( newMessage(QString("New client connection on usync port: # %1") 240 .arg(_uSockets->size()).to Ascii(), true) );240 .arg(_uSockets->size()).toLatin1(), true) ); 241 241 } 242 242 … … 286 286 _staIDs.removeAll(staID); 287 287 emit( newMessage( 288 QString("Decoding %1 stream(s)").arg(_staIDs.size()).to Ascii(), true) );288 QString("Decoding %1 stream(s)").arg(_staIDs.size()).toLatin1(), true) ); 289 289 if (_staIDs.size() == 0) { 290 290 emit(newMessage("bncCaster: Last get thread terminated", true)); … … 406 406 // ---------------- 407 407 if (!existFlg) { 408 QByteArray format = hlp[1].to Ascii();409 QByteArray latitude = hlp[3].to Ascii();410 QByteArray longitude = hlp[4].to Ascii();411 QByteArray nmea = hlp[5].to Ascii();412 QByteArray ntripVersion = hlp[6].to Ascii();408 QByteArray format = hlp[1].toLatin1(); 409 QByteArray latitude = hlp[3].toLatin1(); 410 QByteArray longitude = hlp[4].toLatin1(); 411 QByteArray nmea = hlp[5].toLatin1(); 412 QByteArray ntripVersion = hlp[6].toLatin1(); 413 413 414 414 bncGetThread* getThread = new bncGetThread(url, format, latitude, … … 450 450 + BNC_CORE->confFileName() 451 451 + ", %1 stream(s)") 452 .arg(_threads.count()).to Ascii(), true) );452 .arg(_threads.count()).toLatin1(), true) ); 453 453 454 454 // (Re-) Start the configuration timer … … 555 555 _miscSockets->push_back( _miscServer->nextPendingConnection() ); 556 556 emit( newMessage(QString("New client connection on Miscellaneous Output Port: # %1") 557 .arg(_miscSockets->size()).to Ascii(), true) );558 } 557 .arg(_miscSockets->size()).toLatin1(), true) ); 558 }
Note:
See TracChangeset
for help on using the changeset viewer.