Changeset 10525 in ntrip for trunk/BNC/src/rinex/rnxobsfile.cpp
- Timestamp:
- Aug 19, 2024, 4:15:53 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxobsfile.cpp
r9963 r10525 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 String::SkipEmptyParts);507 QStringList hlp = useObsTypes->at(iType).split(":", Qt::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 String::SkipEmptyParts);554 QStringList hlp1 = hlp.last().split(":", Q String::SkipEmptyParts);553 QStringList hlp = str.split("_", Qt::SkipEmptyParts); 554 QStringList hlp1 = hlp.last().split(":", Qt::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 String::SkipEmptyParts);579 QStringList hlp = str.split(":", Qt::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 String::SkipEmptyParts);592 QStringList hlp = str.split(":", Qt::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 String::SkipEmptyParts);633 runByDate = it.value().split("\\n", Qt::SkipEmptyParts); 634 634 } 635 635 else if ((it.key().indexOf("COMMENT")) != -1) { 636 newComments += it.value().split("\\n", Q String::SkipEmptyParts);636 newComments += it.value().split("\\n", Qt::SkipEmptyParts); 637 637 } 638 638 } … … 1409 1409 const t_rnxSat& rnxSat = epo->rnxSat[iSat]; 1410 1410 if (iSat > 0 && iSat % 12 == 0) { 1411 *stream << endl<< QString().leftJustified(32);1411 *stream << '\n' << QString().leftJustified(32); 1412 1412 } 1413 1413 *stream << rnxSat.prn.toString().c_str(); 1414 1414 } 1415 *stream << endl;1415 *stream << '\n'; 1416 1416 1417 1417 for (unsigned iSat = 0; iSat < epo->rnxSat.size(); iSat++) { … … 1420 1420 for (int iTypeV2 = 0; iTypeV2 < header.nTypes(sys); iTypeV2++) { 1421 1421 if (iTypeV2 > 0 && iTypeV2 % 5 == 0) { 1422 *stream << endl;1422 *stream << '\n'; 1423 1423 } 1424 1424 QString typeV2 = header.obsType(sys, iTypeV2); … … 1428 1428 for (int ii = 0; ii < preferredAttribList.size(); ii++) { 1429 1429 if (preferredAttribList[ii].indexOf("&") != -1) { 1430 QStringList hlp = preferredAttribList[ii].split("&", Q String::SkipEmptyParts);1430 QStringList hlp = preferredAttribList[ii].split("&", Qt::SkipEmptyParts); 1431 1431 if (hlp.size() == 2 && hlp[0].contains(typeV2[1])) { 1432 1432 preferredAttrib = hlp[1]; … … 1476 1476 } 1477 1477 } 1478 *stream << endl;1478 *stream << '\n'; 1479 1479 } 1480 1480 } … … 1559 1559 } 1560 1560 } 1561 *stream << endl;1561 *stream << '\n'; 1562 1562 } 1563 1563 } … … 1677 1677 // --------------------------------------------------- 1678 1678 if (reqcAction == "Edit/Concatenate") { 1679 priorList = settings.value("reqcV2Priority").toString().split(" ", Q String::SkipEmptyParts);1679 priorList = settings.value("reqcV2Priority").toString().split(" ", Qt::SkipEmptyParts); 1680 1680 } 1681 1681 … … 1683 1683 // ---------------------------- 1684 1684 else { 1685 priorList = settings.value("rnxV2Priority").toString().split(" ", Q String::SkipEmptyParts);1685 priorList = settings.value("rnxV2Priority").toString().split(" ", Qt::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 String::SkipEmptyParts);1691 QStringList hlp = priorList[ii].split(":", Qt::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.