Changeset 10546 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Sep 25, 2024, 5:08:35 PM (2 months ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r10525 r10546 66 66 _log = 0; 67 67 _currEpo = 0; 68 _obsFileNames = settings.value("reqcObsFile").toString().split(",", Q t::SkipEmptyParts);69 _navFileNames = settings.value("reqcNavFile").toString().split(",", Q t::SkipEmptyParts);68 _obsFileNames = settings.value("reqcObsFile").toString().split(",", QString::SkipEmptyParts); 69 _navFileNames = settings.value("reqcNavFile").toString().split(",", QString::SkipEmptyParts); 70 70 _reqcPlotSignals = settings.value("reqcSkyPlotSignals").toString(); 71 71 _defaultSignalTypes << "G:1&2&5" << "R:1&2&3" << "J:1&2" << "E:1&5" << "S:1&5" << "C:2&6" << "I:5&9"; … … 149 149 void t_reqcAnalyze::analyzePlotSignals() { 150 150 151 QStringList signalsOpt = _reqcPlotSignals.split(" ", Q t::SkipEmptyParts);151 QStringList signalsOpt = _reqcPlotSignals.split(" ", QString::SkipEmptyParts); 152 152 153 153 for (int ii = 0; ii < signalsOpt.size(); ii++) { 154 QStringList input = signalsOpt.at(ii).split(QRegExp("[:&]"), Q t::SkipEmptyParts);154 QStringList input = signalsOpt.at(ii).split(QRegExp("[:&]"), QString::SkipEmptyParts); 155 155 if (input.size() > 1 && input[0].length() == 1) { 156 156 char system = input[0].toLatin1().constData()[0]; -
trunk/BNC/src/rinex/reqcedit.cpp
r10525 r10546 58 58 _logFile = 0; 59 59 _log = 0; 60 _obsFileNames = settings.value("reqcObsFile").toString().split(",", Q t::SkipEmptyParts);60 _obsFileNames = settings.value("reqcObsFile").toString().split(",", QString::SkipEmptyParts); 61 61 _outObsFileName = settings.value("reqcOutObsFile").toString(); 62 _navFileNames = settings.value("reqcNavFile").toString().split(",", Q t::SkipEmptyParts);62 _navFileNames = settings.value("reqcNavFile").toString().split(",", QString::SkipEmptyParts); 63 63 _outNavFileName = settings.value("reqcOutNavFile").toString(); 64 64 int version = settings.value("reqcRnxVersion").toInt(); … … 242 242 // ------------------------ 243 243 bncSettings settings; 244 QStringList useObsTypes = settings.value("reqcUseObsTypes").toString().split(" ", Q t::SkipEmptyParts);244 QStringList useObsTypes = settings.value("reqcUseObsTypes").toString().split(" ", QString::SkipEmptyParts); 245 245 246 246 // Put together all observation types … … 785 785 QString preferredAttrib; 786 786 if (preferredAttribListSys[ii].indexOf("&") != -1) { 787 QStringList hlp = preferredAttribListSys[ii].split("&", Q t::SkipEmptyParts);787 QStringList hlp = preferredAttribListSys[ii].split("&", QString::SkipEmptyParts); 788 788 if (hlp.size() == 2 && hlp[0].contains(band)) { 789 789 preferredAttrib = hlp[1]; -
trunk/BNC/src/rinex/rnxnavfile.cpp
r10525 r10546 158 158 } 159 159 160 QStringList hlp = line.split(QRegExp("\\s+"), Q t::SkipEmptyParts);160 QStringList hlp = line.split(QRegExp("\\s+"), QString::SkipEmptyParts); 161 161 QString firstStr = hlp.at(0); 162 162 QString prn; … … 317 317 } 318 318 else if (it.key() == "RUN BY DATE") { 319 runByDate = it.value().split("\\n", Q t::SkipEmptyParts);319 runByDate = it.value().split("\\n", QString::SkipEmptyParts); 320 320 } 321 321 else if (it.key() == "COMMENT") { 322 comments = it.value().split("\\n", Q t::SkipEmptyParts);322 comments = it.value().split("\\n", QString::SkipEmptyParts); 323 323 } 324 324 } -
trunk/BNC/src/rinex/rnxobsfile.cpp
r10532 r10546 505 505 for (int iType = 0; iType < useObsTypes->size(); iType++) { 506 506 if (useObsTypes->at(iType).indexOf(":") != -1) { 507 QStringList hlp = useObsTypes->at(iType).split(":", Q t::SkipEmptyParts);507 QStringList hlp = useObsTypes->at(iType).split(":", QString::SkipEmptyParts); 508 508 if (hlp.size() == 2 && hlp[0].length() == 1) { 509 509 if (_version >= 3.0) { … … 551 551 else { 552 552 foreach (const QString &str, *phaseShifts) { 553 QStringList hlp = str.split("_", Q t::SkipEmptyParts);554 QStringList hlp1 = hlp.last().split(":", Q t::SkipEmptyParts);553 QStringList hlp = str.split("_", QString::SkipEmptyParts); 554 QStringList hlp1 = hlp.last().split(":", QString::SkipEmptyParts); 555 555 QString type = hlp.first(); 556 556 double shift = hlp1.first().toDouble(); … … 577 577 else { 578 578 foreach (const QString &str, *gloBiases) { 579 QStringList hlp = str.split(":", Q t::SkipEmptyParts);579 QStringList hlp = str.split(":", QString::SkipEmptyParts); 580 580 QString type = hlp.first();; 581 581 double value = hlp.last().toDouble(); … … 590 590 else { 591 591 foreach (const QString &str, *gloSlots) { 592 QStringList hlp = str.split(":", Q t::SkipEmptyParts);592 QStringList hlp = str.split(":", QString::SkipEmptyParts); 593 593 QString sat = hlp.first(); 594 594 int slot = hlp.last().toInt(); … … 631 631 } 632 632 else if (it.key() == "RUN BY DATE") { 633 runByDate = it.value().split("\\n", Q t::SkipEmptyParts);633 runByDate = it.value().split("\\n", QString::SkipEmptyParts); 634 634 } 635 635 else if ((it.key().indexOf("COMMENT")) != -1) { 636 newComments += it.value().split("\\n", Q t::SkipEmptyParts);636 newComments += it.value().split("\\n", QString::SkipEmptyParts); 637 637 } 638 638 } … … 1428 1428 for (int ii = 0; ii < preferredAttribList.size(); ii++) { 1429 1429 if (preferredAttribList[ii].indexOf("&") != -1) { 1430 QStringList hlp = preferredAttribList[ii].split("&", Q t::SkipEmptyParts);1430 QStringList hlp = preferredAttribList[ii].split("&", QString::SkipEmptyParts); 1431 1431 if (hlp.size() == 2 && hlp[0].contains(typeV2[1])) { 1432 1432 preferredAttrib = hlp[1]; … … 1677 1677 // --------------------------------------------------- 1678 1678 if (reqcAction == "Edit/Concatenate") { 1679 priorList = settings.value("reqcV2Priority").toString().split(" ", Q t::SkipEmptyParts);1679 priorList = settings.value("reqcV2Priority").toString().split(" ", QString::SkipEmptyParts); 1680 1680 } 1681 1681 … … 1683 1683 // ---------------------------- 1684 1684 else { 1685 priorList = settings.value("rnxV2Priority").toString().split(" ", Q t::SkipEmptyParts);1685 priorList = settings.value("rnxV2Priority").toString().split(" ", QString::SkipEmptyParts); 1686 1686 } 1687 1687 … … 1689 1689 for (int ii = 0; ii < priorList.size(); ii++) { 1690 1690 if (priorList[ii].indexOf(":") != -1) { 1691 QStringList hlp = priorList[ii].split(":", Q t::SkipEmptyParts);1691 QStringList hlp = priorList[ii].split(":", QString::SkipEmptyParts); 1692 1692 if (hlp.size() == 2 && hlp[0].length() == 1 && hlp[0][0] == sys) { 1693 1693 result.append(hlp[1]);
Note:
See TracChangeset
for help on using the changeset viewer.