Changeset 1535 in ntrip
- Timestamp:
- Jan 25, 2009, 8:53:37 AM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3Decoder.cpp
r1299 r1535 47 47 #include "bncconst.h" 48 48 #include "bncapp.h" 49 #include "bncutils.h" /* Weber, for latencies */ 49 #include "bncutils.h" 50 #include "bncsettings.h" 50 51 51 52 using namespace std; … … 64 65 RTCM3Decoder::RTCM3Decoder(const QString& staID) : GPSDecoder() { 65 66 66 QSettings settings;67 bncSettings settings; 67 68 _checkMountPoint = settings.value("messTypes").toString(); 68 69 _staID = staID; -
trunk/BNC/RTCM3/RTCM3coDecoder.cpp
r1227 r1535 46 46 #include "bncrinex.h" 47 47 #include "bncapp.h" 48 #include "bncsettings.h" 48 49 49 50 using namespace std; … … 57 58 // File Output 58 59 // ----------- 59 QSettings settings;60 bncSettings settings; 60 61 QString path = settings.value("corrPath").toString(); 61 62 if (!path.isEmpty()) { … … 84 85 if (!_fileNameSkl.isEmpty()) { 85 86 86 QSettings settings;87 bncSettings settings; 87 88 88 89 QDateTime datTim = currentDateAndTimeGPS(); -
trunk/BNC/bnc.pro
r1526 r1535 30 30 bncconst.h bnchtml.h bnctableitem.h bnczerodecoder.h \ 31 31 bncnetquery.h bncnetqueryv1.h bncnetqueryv2.h \ 32 bncnetqueryrtp.h 32 bncnetqueryrtp.h bncsettings.h \ 33 33 RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \ 34 34 RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \ … … 49 49 bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \ 50 50 bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \ 51 bncnetqueryrtp.cpp 51 bncnetqueryrtp.cpp bncsettings.cpp \ 52 52 RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \ 53 53 RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \ -
trunk/BNC/bncapp.cpp
r1451 r1535 40 40 41 41 #include <iostream> 42 #include <QSettings>43 42 #include <QMessageBox> 44 43 #include <cmath> … … 48 47 #include "bncutils.h" 49 48 #include "bncrinex.h" 49 #include "bncsettings.h" 50 50 51 51 using namespace std; … … 163 163 if (_logFileFlag == 0) { 164 164 _logFileFlag = 1; 165 QSettings settings;165 bncSettings settings; 166 166 QString logFileName = settings.value("logFile").toString(); 167 167 if ( !logFileName.isEmpty() ) { … … 253 253 void bncApp::printEphHeader() { 254 254 255 QSettings settings;255 bncSettings settings; 256 256 257 257 // Initialization … … 640 640 } 641 641 642 QSettings settings;642 bncSettings settings; 643 643 _waitCoTime = settings.value("corrTime").toInt(); 644 644 if (_waitCoTime < 1) { -
trunk/BNC/bnccaster.cpp
r1529 r1535 46 46 #include "bncgetthread.h" 47 47 #include "bncutils.h" 48 #include "bncsettings.h" 48 49 #include "RTCM/GPSDecoder.h" 49 50 … … 52 53 bncCaster::bncCaster(const QString& outFileName, int port) { 53 54 54 QSettings settings;55 bncSettings settings; 55 56 56 57 connect(this, SIGNAL(newMessage(QByteArray,bool)), … … 190 191 if (newTime <= _lastDumpSec) { 191 192 if (firstObs) { 192 QSettings settings;193 bncSettings settings; 193 194 if ( !settings.value("outFile").toString().isEmpty() || 194 195 !settings.value("outPort").toString().isEmpty() ) { … … 363 364 void bncCaster::slotReadMountPoints() { 364 365 365 QSettings settings;366 bncSettings settings; 366 367 367 368 // Reread several options -
trunk/BNC/bncgetthread.cpp
r1527 r1535 57 57 #include "bncnetqueryv2.h" 58 58 #include "bncnetqueryrtp.h" 59 #include "bncsettings.h" 59 60 60 61 #include "RTCM/RTCM2Decoder.h" … … 132 133 // Check name conflict 133 134 // ------------------- 134 QSettings settings;135 bncSettings settings; 135 136 QListIterator<QString> it(settings.value("mountPoints").toStringList()); 136 137 int num = 0; … … 589 590 // ---------------- 590 591 if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) { 591 QSettings settings;592 bncSettings settings; 592 593 if ( Qt::CheckState(settings.value("scanRTCM").toInt()) == Qt::Checked) { 593 594 -
trunk/BNC/bncmain.cpp
r1517 r1535 47 47 #include "bncapp.h" 48 48 #include "bncwindow.h" 49 #include "bncsettings.h" 49 50 50 51 using namespace std; … … 132 133 casterUrlList << "http://user:pass@www.euref-ip.net:2101" << "http://user:pass@www.igs-ip.net:2101"; 133 134 134 QSettings settings;135 bncSettings settings; 135 136 if (settings.allKeys().size() == 0) { 136 137 settings.setValue("adviseFail", "15"); -
trunk/BNC/bncnetqueryrtp.cpp
r1533 r1535 19 19 20 20 #include "bncnetqueryrtp.h" 21 #include "bncsettings.h" 21 22 22 23 using namespace std; … … 112 113 // Connect the Socket 113 114 // ------------------ 114 QSettings settings;115 bncSettings settings; 115 116 QString proxyHost = settings.value("proxyHost").toString(); 116 117 int proxyPort = settings.value("proxyPort").toInt(); -
trunk/BNC/bncnetqueryv1.cpp
r1534 r1535 19 19 20 20 #include "bncnetqueryv1.h" 21 #include "bncsettings.h" 21 22 22 23 using namespace std; … … 95 96 // Connect the Socket 96 97 // ------------------ 97 QSettings settings;98 bncSettings settings; 98 99 QString proxyHost = settings.value("proxyHost").toString(); 99 100 int proxyPort = settings.value("proxyPort").toInt(); -
trunk/BNC/bncnetqueryv2.cpp
r1509 r1535 16 16 17 17 #include "bncnetqueryv2.h" 18 #include "bncsettings.h" 18 19 19 20 #define BNCVERSION "1.7" … … 100 101 // Proxy Settings 101 102 // -------------- 102 QSettings settings;103 bncSettings settings; 103 104 QString proxyHost = settings.value("proxyHost").toString(); 104 105 int proxyPort = settings.value("proxyPort").toInt(); -
trunk/BNC/bncrinex.cpp
r1523 r1535 55 55 #include "bncgetthread.h" 56 56 #include "bncnetqueryv2.h" 57 #include "bncsettings.h" 57 58 #include "RTCM3/rtcm3torinex.h" 58 59 … … 76 77 _reloadDone = false; 77 78 78 QSettings settings;79 bncSettings settings; 79 80 _rnxScriptName = settings.value("rnxScript").toString(); 80 81 expandEnvVar(_rnxScriptName); … … 106 107 delete it.next(); 107 108 } 108 QSettings settings;109 bncSettings settings; 109 110 if ((_rinexVers == 3) && ( Qt::CheckState(settings.value("rnxAppend").toInt()) != Qt::Checked) ) { 110 111 _out << "> 4 1" << endl; … … 320 321 void bncRinex::resolveFileName(const QDateTime& datTim) { 321 322 322 QSettings settings;323 bncSettings settings; 323 324 QString path = settings.value("rnxPath").toString(); 324 325 expandEnvVar(path); … … 365 366 const QDateTime& datTimNom) { 366 367 367 QSettings settings;368 bncSettings settings; 368 369 369 370 // Open the Output File -
trunk/BNC/bnctabledlg.cpp
r1508 r1535 44 44 #include "bncgetthread.h" 45 45 #include "bncnetqueryv2.h" 46 #include "bncsettings.h" 46 47 47 48 using namespace std; … … 76 77 connect(_casterHostComboBox, SIGNAL(currentIndexChanged(const QString&)), 77 78 this, SLOT(slotCasterHostChanged(const QString&))); 78 QSettings settings;79 bncSettings settings; 79 80 settings.remove("casterHostList"); 80 81 settings.remove("casterHost"); … … 294 295 void bncTableDlg::accept() { 295 296 296 QSettings settings;297 bncSettings settings; 297 298 settings.setValue("ntripVersion", _ntripVersionComboBox->currentText()); 298 299 QUrl url; … … 396 397 //////////////////////////////////////////////////////////////////////////// 397 398 void bncTableDlg::addUrl(const QUrl& url) { 398 QSettings settings;399 bncSettings settings; 399 400 QStringList oldUrlList = settings.value("casterUrlList").toStringList(); 400 401 QStringList newUrlList; … … 413 414 //////////////////////////////////////////////////////////////////////////// 414 415 void bncTableDlg::slotCasterHostChanged(const QString& newHost) { 415 QSettings settings;416 bncSettings settings; 416 417 QStringList casterUrlList = settings.value("casterUrlList").toStringList(); 417 418 for (int ii = 0; ii < casterUrlList.count(); ii++) { -
trunk/BNC/bncwindow.cpp
r1515 r1535 49 49 #include "bnchtml.h" 50 50 #include "bnctableitem.h" 51 #include "bncsettings.h" 51 52 52 53 using namespace std; … … 115 116 AddToolbar(); 116 117 117 QSettings settings;118 bncSettings settings; 118 119 _proxyHostLineEdit = new QLineEdit(settings.value("proxyHost").toString()); 119 120 _proxyPortLineEdit = new QLineEdit(settings.value("proxyPort").toString()); … … 670 671 } 671 672 672 QSettings settings;673 bncSettings settings; 673 674 674 675 QListIterator<QString> it(settings.value("mountPoints").toStringList()); … … 740 741 void bncWindow::slotAddMountPoints() { 741 742 742 QSettings settings;743 bncSettings settings; 743 744 QString proxyHost = settings.value("proxyHost").toString(); 744 745 int proxyPort = settings.value("proxyPort").toInt(); … … 865 866 QMessageBox::NoButton); 866 867 if (iRet == QMessageBox::Yes) { 867 QSettings settings;868 bncSettings settings; 868 869 settings.remove(""); 869 870 } … … 887 888 } 888 889 889 QSettings settings;890 bncSettings settings; 890 891 891 892 settings.setValue("adviseFail", _adviseFailSpinBox->value()); … … 1062 1063 QFont newFont = QFontDialog::getFont(&ok, this->font(), this); 1063 1064 if (ok) { 1064 QSettings settings;1065 bncSettings settings; 1065 1066 settings.setValue("font", newFont.toString()); 1066 1067 QApplication::setFont(newFont); … … 1080 1081 void bncWindow::slotMountPointsRead(QList<bncGetThread*> threads) { 1081 1082 populateMountPointsTable(); 1082 QSettings settings;1083 bncSettings settings; 1083 1084 _binSamplSpinBox->setValue(settings.value("binSampl").toInt()); 1084 1085 _waitTimeSpinBox->setValue(settings.value("waitTime").toInt()); -
trunk/BNC/bnczerodecoder.cpp
r1218 r1535 42 42 #include "bnczerodecoder.h" 43 43 #include "bncutils.h" 44 #include "bncsettings.h" 44 45 45 46 using namespace std; … … 49 50 bncZeroDecoder::bncZeroDecoder(const QString& fileName) { 50 51 51 QSettings settings;52 bncSettings settings; 52 53 QString path = settings.value("rnxPath").toString(); 53 54 expandEnvVar(path);
Note:
See TracChangeset
for help on using the changeset viewer.