Changeset 10546 in ntrip for trunk/BNC/src/rinex


Ignore:
Timestamp:
Sep 25, 2024, 5:08:35 PM (2 months ago)
Author:
stuerze
Message:

replacement of obsolete qt-class members

Location:
trunk/BNC/src/rinex
Files:
4 edited

Legend:

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

    r10525 r10546  
    6666  _log             = 0;
    6767  _currEpo         = 0;
    68   _obsFileNames    = settings.value("reqcObsFile").toString().split(",", Qt::SkipEmptyParts);
    69   _navFileNames    = settings.value("reqcNavFile").toString().split(",", Qt::SkipEmptyParts);
     68  _obsFileNames    = settings.value("reqcObsFile").toString().split(",", QString::SkipEmptyParts);
     69  _navFileNames    = settings.value("reqcNavFile").toString().split(",", QString::SkipEmptyParts);
    7070  _reqcPlotSignals = settings.value("reqcSkyPlotSignals").toString();
    7171  _defaultSignalTypes << "G:1&2&5" << "R:1&2&3" << "J:1&2" << "E:1&5" << "S:1&5" << "C:2&6" << "I:5&9";
     
    149149void t_reqcAnalyze::analyzePlotSignals() {
    150150
    151   QStringList signalsOpt = _reqcPlotSignals.split(" ", Qt::SkipEmptyParts);
     151  QStringList signalsOpt = _reqcPlotSignals.split(" ", QString::SkipEmptyParts);
    152152
    153153  for (int ii = 0; ii < signalsOpt.size(); ii++) {
    154     QStringList input = signalsOpt.at(ii).split(QRegExp("[:&]"), Qt::SkipEmptyParts);
     154    QStringList input = signalsOpt.at(ii).split(QRegExp("[:&]"), QString::SkipEmptyParts);
    155155    if (input.size() > 1 && input[0].length() == 1) {
    156156      char        system   = input[0].toLatin1().constData()[0];
  • trunk/BNC/src/rinex/reqcedit.cpp

    r10525 r10546  
    5858  _logFile        = 0;
    5959  _log            = 0;
    60   _obsFileNames   = settings.value("reqcObsFile").toString().split(",", Qt::SkipEmptyParts);
     60  _obsFileNames   = settings.value("reqcObsFile").toString().split(",", QString::SkipEmptyParts);
    6161  _outObsFileName = settings.value("reqcOutObsFile").toString();
    62   _navFileNames   = settings.value("reqcNavFile").toString().split(",", Qt::SkipEmptyParts);
     62  _navFileNames   = settings.value("reqcNavFile").toString().split(",", QString::SkipEmptyParts);
    6363  _outNavFileName = settings.value("reqcOutNavFile").toString();
    6464  int version     = settings.value("reqcRnxVersion").toInt();
     
    242242  // ------------------------
    243243  bncSettings settings;
    244   QStringList useObsTypes = settings.value("reqcUseObsTypes").toString().split(" ", Qt::SkipEmptyParts);
     244  QStringList useObsTypes = settings.value("reqcUseObsTypes").toString().split(" ", QString::SkipEmptyParts);
    245245
    246246  // Put together all observation types
     
    785785        QString preferredAttrib;
    786786        if (preferredAttribListSys[ii].indexOf("&") != -1) {
    787           QStringList hlp = preferredAttribListSys[ii].split("&", Qt::SkipEmptyParts);
     787          QStringList hlp = preferredAttribListSys[ii].split("&", QString::SkipEmptyParts);
    788788          if (hlp.size() == 2 && hlp[0].contains(band)) {
    789789            preferredAttrib = hlp[1];
  • trunk/BNC/src/rinex/rnxnavfile.cpp

    r10525 r10546  
    158158    }
    159159
    160     QStringList hlp = line.split(QRegExp("\\s+"), Qt::SkipEmptyParts);
     160    QStringList hlp = line.split(QRegExp("\\s+"), QString::SkipEmptyParts);
    161161    QString firstStr = hlp.at(0);
    162162    QString prn;
     
    317317      }
    318318      else if (it.key() == "RUN BY DATE") {
    319           runByDate = it.value().split("\\n", Qt::SkipEmptyParts);
     319          runByDate = it.value().split("\\n", QString::SkipEmptyParts);
    320320      }
    321321      else if (it.key() == "COMMENT") {
    322         comments = it.value().split("\\n", Qt::SkipEmptyParts);
     322        comments = it.value().split("\\n", QString::SkipEmptyParts);
    323323      }
    324324    }
  • trunk/BNC/src/rinex/rnxobsfile.cpp

    r10532 r10546  
    505505    for (int iType = 0; iType < useObsTypes->size(); iType++) {
    506506      if (useObsTypes->at(iType).indexOf(":") != -1) {
    507         QStringList hlp = useObsTypes->at(iType).split(":", Qt::SkipEmptyParts);
     507        QStringList hlp = useObsTypes->at(iType).split(":", QString::SkipEmptyParts);
    508508        if (hlp.size() == 2 && hlp[0].length() == 1) {
    509509          if (_version >= 3.0) {
     
    551551    else {
    552552      foreach (const QString &str, *phaseShifts) {
    553         QStringList hlp  = str.split("_", Qt::SkipEmptyParts);
    554         QStringList hlp1 = hlp.last().split(":", Qt::SkipEmptyParts);
     553        QStringList hlp  = str.split("_", QString::SkipEmptyParts);
     554        QStringList hlp1 = hlp.last().split(":", QString::SkipEmptyParts);
    555555        QString type = hlp.first();
    556556        double shift = hlp1.first().toDouble();
     
    577577    else {
    578578      foreach (const QString &str, *gloBiases) {
    579         QStringList hlp = str.split(":", Qt::SkipEmptyParts);
     579        QStringList hlp = str.split(":", QString::SkipEmptyParts);
    580580        QString type = hlp.first();;
    581581        double  value = hlp.last().toDouble();
     
    590590    else {
    591591      foreach (const QString &str, *gloSlots) {
    592         QStringList hlp = str.split(":", Qt::SkipEmptyParts);
     592        QStringList hlp = str.split(":", QString::SkipEmptyParts);
    593593        QString sat = hlp.first();
    594594        int    slot = hlp.last().toInt();
     
    631631      }
    632632      else if (it.key() == "RUN BY DATE") {
    633           runByDate = it.value().split("\\n", Qt::SkipEmptyParts);
     633          runByDate = it.value().split("\\n", QString::SkipEmptyParts);
    634634      }
    635635      else if ((it.key().indexOf("COMMENT")) != -1) {
    636         newComments += it.value().split("\\n", Qt::SkipEmptyParts);
     636        newComments += it.value().split("\\n", QString::SkipEmptyParts);
    637637      }
    638638    }
     
    14281428      for (int ii = 0; ii < preferredAttribList.size(); ii++) {
    14291429        if (preferredAttribList[ii].indexOf("&") != -1) {
    1430           QStringList hlp = preferredAttribList[ii].split("&", Qt::SkipEmptyParts);
     1430          QStringList hlp = preferredAttribList[ii].split("&", QString::SkipEmptyParts);
    14311431          if (hlp.size() == 2 && hlp[0].contains(typeV2[1])) {
    14321432            preferredAttrib = hlp[1];
     
    16771677  // ---------------------------------------------------
    16781678  if (reqcAction == "Edit/Concatenate") {
    1679     priorList = settings.value("reqcV2Priority").toString().split(" ", Qt::SkipEmptyParts);
     1679    priorList = settings.value("reqcV2Priority").toString().split(" ", QString::SkipEmptyParts);
    16801680  }
    16811681
     
    16831683  // ----------------------------
    16841684  else {
    1685     priorList = settings.value("rnxV2Priority").toString().split(" ", Qt::SkipEmptyParts);
     1685    priorList = settings.value("rnxV2Priority").toString().split(" ", QString::SkipEmptyParts);
    16861686  }
    16871687
     
    16891689  for (int ii = 0; ii < priorList.size(); ii++) {
    16901690    if (priorList[ii].indexOf(":") != -1) {
    1691       QStringList hlp = priorList[ii].split(":", Qt::SkipEmptyParts);
     1691      QStringList hlp = priorList[ii].split(":", QString::SkipEmptyParts);
    16921692      if (hlp.size() == 2 && hlp[0].length() == 1 && hlp[0][0] == sys) {
    16931693        result.append(hlp[1]);
Note: See TracChangeset for help on using the changeset viewer.