Changeset 5100 in ntrip for trunk/GnssCenter/inpedit
- Timestamp:
- Apr 12, 2013, 4:23:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/inpedit/tabwidget.cpp
r5099 r5100 16 16 * -----------------------------------------------------------------------*/ 17 17 18 #include <iostream>19 18 #include "tabwidget.h" 20 19 #include "keyword.h" … … 93 92 //////////////////////////////////////////////////////////////////////////// 94 93 void t_tabWidget::writeInputFile(const QString& fileName) { 94 QFile file(fileName); 95 if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) { 96 return; 97 } 98 QTextStream out(&file); 95 99 for (int ii = 0; ii < _staticLines.size(); ii++) { 96 cout << _staticLines[ii].toAscii().data() << endl;100 out << _staticLines[ii] << '\n'; 97 101 } 98 102 }
Note:
See TracChangeset
for help on using the changeset viewer.