Changeset 5015 in ntrip for trunk/GnssCenter/src/inpedit/inpedit.cpp
- Timestamp:
- Mar 28, 2013, 2:32:27 PM (11 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/src/inpedit/inpedit.cpp
r5014 r5015 4 4 * ------------------------------------------------------------------------- 5 5 * 6 * Class: t_inp File6 * Class: t_inpEdit 7 7 * 8 8 * Purpose: RTNet Input File … … 16 16 * -----------------------------------------------------------------------*/ 17 17 18 #include "inp file.h"18 #include "inpedit.h" 19 19 #include "keyword.h" 20 20 #include "panel.h" … … 25 25 // Constructor 26 26 //////////////////////////////////////////////////////////////////////////// 27 t_inpFile::t_inpFile(const QString& fileName) : QTabWidget(0) { 28 _fileName = fileName; 29 readFile(); 27 t_inpEdit::t_inpEdit() : QTabWidget(), t_pluginInterface() { 30 28 } 31 29 32 30 // Destructor 33 31 //////////////////////////////////////////////////////////////////////////// 34 t_inp File::~t_inpFile() {32 t_inpEdit::~t_inpEdit() { 35 33 QMapIterator<QString, t_keyword*> it(_keywords); 36 34 while (it.hasNext()) { … … 42 40 // 43 41 //////////////////////////////////////////////////////////////////////////// 44 void t_inpFile::readFile() { 42 void t_inpEdit::setInputFile(const QString& fileName) { 43 _fileName = fileName; 44 readFile(); 45 } 46 47 // 48 //////////////////////////////////////////////////////////////////////////// 49 void t_inpEdit::readFile() { 45 50 46 51 QFile file(_fileName);
Note:
See TracChangeset
for help on using the changeset viewer.