Changeset 8204 in ntrip for trunk/BNC/src/rinex/reqcedit.cpp


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

CHANGE: #105 toAscii deprecated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcedit.cpp

    r8168 r8204  
    7070  }
    7171  _samplingRate   = settings.value("reqcSampling").toInt();
    72   _begTime        = bncTime(settings.value("reqcStartDateTime").toString().toAscii().data());
    73   _endTime        = bncTime(settings.value("reqcEndDateTime").toString().toAscii().data());
     72  _begTime        = bncTime(settings.value("reqcStartDateTime").toString().toLatin1().data());
     73  _endTime        = bncTime(settings.value("reqcEndDateTime").toString().toLatin1().data());
    7474
    7575}
     
    183183          delete rnxObsFile;
    184184          if (log) {
    185             *log << "Error in rnxObsFile " << filePath.toAscii().data() << endl;
     185            *log << "Error in rnxObsFile " << filePath.toLatin1().data() << endl;
    186186          }
    187187        }
     
    196196      catch (...) {
    197197        if (log) {
    198           *log << "Error in rnxObsFile " << fileName.toAscii().data() << endl;
     198          *log << "Error in rnxObsFile " << fileName.toLatin1().data() << endl;
    199199        }
    200200      }
     
    668668
    669669  for(int ii = 0; ii < obsFile->numSys(); ii++) {
    670     char sys = systems[ii].toAscii();
     670    char sys = systems[ii].toLatin1();
    671671    txtMap.insert(commentKey, comment);
    672672    QMap <char, QString>  signalPriorityMap;
     
    675675    for (int jj = 0; jj < types.size(); jj++) {
    676676      QString inType = types[jj];
    677       char band = inType[1].toAscii();
     677      char band = inType[1].toLatin1();
    678678      for (int ii = 0; ii < preferredAttribListSys.size(); ii++) {
    679679        QString preferredAttrib;
Note: See TracChangeset for help on using the changeset viewer.