Ignore:
Timestamp:
Dec 11, 2017, 3:00:40 PM (6 years ago)
Author:
wiese
Message:

CHANGE: #105 toAscii deprecated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r8175 r8204  
    366366    // --------------------
    367367    if (_resTime.valid() && clkCorr._time <= _resTime) {
    368       emit newMessage("bncComb: old correction: " + acName.toAscii() + " " + prn.mid(0,3).toAscii(), true);
     368      emit newMessage("bncComb: old correction: " + acName.toLatin1() + " " + prn.mid(0,3).toLatin1(), true);
    369369      continue;
    370370    }
     
    401401    t_eph* ephPrev = _ephUser.ephPrev(prn);
    402402    if (ephLast == 0) {
    403       emit newMessage("bncComb: eph not found "  + prn.mid(0,3).toAscii(), true);
     403      emit newMessage("bncComb: eph not found "  + prn.mid(0,3).toLatin1(), true);
    404404      delete newCorr;
    405405      continue;
     
    414414      }
    415415      else {
    416         emit newMessage("bncComb: eph not found "  + prn.mid(0,3).toAscii() +
    417                         QString(" %1").arg(newCorr->_iod).toAscii(), true);
     416        emit newMessage("bncComb: eph not found "  + prn.mid(0,3).toLatin1() +
     417                        QString(" %1").arg(newCorr->_iod).toLatin1(), true);
    418418        delete newCorr;
    419419        continue;
     
    469469    + QString(" %1 -> %2 %3").arg(corr->_iod,3).arg(lastEph->IOD(),3).arg(dC*t_CST::c, 8, 'f', 4);
    470470
    471   emit newMessage(msg.toAscii(), false);
     471  emit newMessage(msg.toLatin1(), false);
    472472
    473473  corr->_iod = lastEph->IOD();
     
    507507      }
    508508    }
    509     out << AC->name.toAscii().data() << ": " << AC->numObs << endl;
     509    out << AC->name.toLatin1().data() << ": " << AC->numObs << endl;
    510510  }
    511511
     
    531531        if (AC->numObs > 0) {
    532532          out << "Switching Master AC "
    533               << _masterOrbitAC.toAscii().data() << " --> "
    534               << AC->name.toAscii().data()   << " "
     533              << _masterOrbitAC.toLatin1().data() << " --> "
     534              << AC->name.toLatin1().data()   << " "
    535535              << _resTime.datestr().c_str()    << " "
    536536              << _resTime.timestr().c_str()    << endl;
     
    752752      if (_antex->satCoMcorrection(corr->_prn, Mjd, xc.Rows(1,3), dx) != success) {
    753753        dx = 0;
    754         _log += "antenna not found " + corr->_prn.mid(0,3).toAscii() + '\n';
     754        _log += "antenna not found " + corr->_prn.mid(0,3).toLatin1() + '\n';
    755755      }
    756756    }
     
    777777                 "   %10.5f INTERNAL",
    778778                 messageType, updateInt, _resTime.gpsw(), _resTime.gpssec(),
    779                  corr->_prn.mid(0,3).toAscii().data(),
     779                 corr->_prn.mid(0,3).toLatin1().data(),
    780780                 corr->_iod,
    781781                 corr->_dClkResult * t_CST::c,
     
    800800
    801801  vector<string> errmsg;
    802   _rtnetDecoder->Decode(outLines.toAscii().data(), outLines.length(), errmsg);
     802  _rtnetDecoder->Decode(outLines.toLatin1().data(), outLines.length(), errmsg);
    803803
    804804  // Send new Corrections to PPP etc.
     
    11691169              << _resTime.timestr().c_str()    << " "
    11701170              << "Orbit Outlier: "
    1171               << corr->_acName.toAscii().data() << " "
    1172               << prn.mid(0,3).toAscii().data()           << " "
     1171              << corr->_acName.toLatin1().data() << " "
     1172              << prn.mid(0,3).toLatin1().data()           << " "
    11731173              << corr->_iod                     << " "
    11741174              << norm                           << endl;
     
    12031203    if (AC->mountPoint == mountPoint) {
    12041204      acName = AC->name;
    1205       out << "Provider ID changed: AC " << AC->name.toAscii().data()   << " "
     1205      out << "Provider ID changed: AC " << AC->name.toLatin1().data()   << " "
    12061206          << _resTime.datestr().c_str()    << " "
    12071207          << _resTime.timestr().c_str()    << endl;
Note: See TracChangeset for help on using the changeset viewer.