Ignore:
Timestamp:
Mar 28, 2013, 2:32:27 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/src/inpedit/inpedit.cpp

    r5014 r5015  
    44 * -------------------------------------------------------------------------
    55 *
    6  * Class:      t_inpFile
     6 * Class:      t_inpEdit
    77 *
    88 * Purpose:    RTNet Input File
     
    1616 * -----------------------------------------------------------------------*/
    1717
    18 #include "inpfile.h"
     18#include "inpedit.h"
    1919#include "keyword.h"
    2020#include "panel.h"
     
    2525// Constructor
    2626////////////////////////////////////////////////////////////////////////////
    27 t_inpFile::t_inpFile(const QString& fileName) : QTabWidget(0) {
    28   _fileName = fileName;
    29   readFile();
     27t_inpEdit::t_inpEdit() : QTabWidget(), t_pluginInterface() {
    3028}
    3129
    3230// Destructor
    3331////////////////////////////////////////////////////////////////////////////
    34 t_inpFile::~t_inpFile() {
     32t_inpEdit::~t_inpEdit() {
    3533  QMapIterator<QString, t_keyword*> it(_keywords);
    3634  while (it.hasNext()) {
     
    4240//
    4341////////////////////////////////////////////////////////////////////////////
    44 void t_inpFile::readFile() {
     42void t_inpEdit::setInputFile(const QString& fileName) {
     43  _fileName = fileName;
     44  readFile();
     45}
     46
     47//
     48////////////////////////////////////////////////////////////////////////////
     49void t_inpEdit::readFile() {
    4550
    4651  QFile file(_fileName);
Note: See TracChangeset for help on using the changeset viewer.