Changeset 8127 in ntrip for trunk/BNC/src/bnccaster.cpp


Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

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

    r8119 r8127  
    208208          emit( newMessage(QString("%1: Old epoch %2 thrown away")
    209209                 .arg(staID.data()).arg(string(obs._time).c_str())
    210                .toAscii(), true) );
     210               .toLatin1(), true) );
    211211        }
    212212      }
     
    232232  _sockets->push_back( _server->nextPendingConnection() );
    233233  emit( newMessage(QString("New client connection on sync port: # %1")
    234                    .arg(_sockets->size()).toAscii(), true) );
     234                   .arg(_sockets->size()).toLatin1(), true) );
    235235}
    236236
     
    238238  _uSockets->push_back( _uServer->nextPendingConnection() );
    239239  emit( newMessage(QString("New client connection on usync port: # %1")
    240                    .arg(_uSockets->size()).toAscii(), true) );
     240                   .arg(_uSockets->size()).toLatin1(), true) );
    241241}
    242242
     
    286286  _staIDs.removeAll(staID);
    287287  emit( newMessage(
    288            QString("Decoding %1 stream(s)").arg(_staIDs.size()).toAscii(), true) );
     288           QString("Decoding %1 stream(s)").arg(_staIDs.size()).toLatin1(), true) );
    289289  if (_staIDs.size() == 0) {
    290290    emit(newMessage("bncCaster: Last get thread terminated", true));
     
    406406    // ----------------
    407407    if (!existFlg) {
    408       QByteArray format    = hlp[1].toAscii();
    409       QByteArray latitude  = hlp[3].toAscii();
    410       QByteArray longitude = hlp[4].toAscii();
    411       QByteArray nmea      = hlp[5].toAscii();
    412       QByteArray ntripVersion = hlp[6].toAscii();
     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();
    413413
    414414      bncGetThread* getThread = new bncGetThread(url, format, latitude,
     
    450450                           + BNC_CORE->confFileName()
    451451                           + ", %1 stream(s)")
    452                             .arg(_threads.count()).toAscii(), true) );
     452                            .arg(_threads.count()).toLatin1(), true) );
    453453
    454454  // (Re-) Start the configuration timer
     
    555555  _miscSockets->push_back( _miscServer->nextPendingConnection() );
    556556  emit( newMessage(QString("New client connection on Miscellaneous Output Port: # %1")
    557                    .arg(_miscSockets->size()).toAscii(), true) );
    558 }
     557                   .arg(_miscSockets->size()).toLatin1(), true) );
     558}
Note: See TracChangeset for help on using the changeset viewer.