Changeset 8501 in ntrip for branches/BNC_2.12
- Timestamp:
- Sep 27, 2018, 10:52:07 AM (6 years ago)
- Location:
- branches/BNC_2.12/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bncrinex.cpp
r8418 r8501 137 137 138 138 QStringList table; 139 bncTableDlg::getFullTable(_ntripVersion, _mountPoint.host(), 140 _mountPoint.port(), table, true);139 bncTableDlg::getFullTable(_ntripVersion, _mountPoint.host(), _mountPoint.port(), 140 _mountPoint.userName(), _mountPoint.password(), table, true); 141 141 QString net; 142 142 QStringListIterator it(table); -
branches/BNC_2.12/src/bnctabledlg.cpp
r8178 r8501 193 193 t_irc bncTableDlg::getFullTable(const QString& ntripVersion, 194 194 const QString& casterHost, 195 int casterPort, QStringList& allLines, 195 int casterPort, 196 const QString& casterUser, 197 const QString& casterPassword, 198 QStringList& allLines, 196 199 bool alwaysRead) { 197 200 … … 229 232 url.setScheme("http"); 230 233 } 231 234 url.setUserName(QUrl::toPercentEncoding(casterUser)); 235 url.setPassword(QUrl::toPercentEncoding(casterPassword)); 232 236 QByteArray outData; 233 237 query->waitForRequestResult(url, outData); … … 260 264 _casterHostComboBox->currentText(), 261 265 _casterPortLineEdit->text().toInt(), 266 _casterUserLineEdit->text(), 267 _casterPasswordLineEdit->text(), 262 268 _allLines, true) != success ) { 263 269 QMessageBox::warning(0, "BNC", "Cannot retrieve table of data"); … … 382 388 format.replace(" ", "_"); 383 389 if (_table->isItemSelected(item)) { 384 url.setPath( item->text());390 url.setPath("/"+item->text()); 385 391 mountPoints->push_back(url.toString() + " " + format + " " + country + " " + latitude 386 392 + " " + longitude + " " + nmea + " " + ntripVersion); -
branches/BNC_2.12/src/bnctabledlg.h
r4658 r8501 59 59 bncTableDlg(QWidget* parent); 60 60 ~bncTableDlg(); 61 static t_irc getFullTable(const QString& ntripVersion, 61 static t_irc getFullTable(const QString& ntripVersion, 62 62 const QString& casterHost, int casterPort, 63 const QString& casterUser, const QString& casterPassword, 63 64 QStringList& allLines, bool alwaysRead = true); 64 65
Note:
See TracChangeset
for help on using the changeset viewer.