00001 #ifndef QSEFILEREADER_H 00002 #define QSEFILEREADER_H 00003 00004 #include <QFile> 00005 #include <QMap> 00006 #include <QStringList> 00007 00008 class QseDataSet; 00009 class QseScan; 00010 class QseInputFile; 00011 class QTimer; 00012 00013 class QseFileReader : public QObject 00014 { 00015 Q_OBJECT; 00016 00017 public: 00018 QseFileReader(const QString& name, QObject *parent=0); 00019 ~QseFileReader(); 00020 00021 typedef QObject inherited; 00022 00023 QseInputFile* inputFile(); 00024 00025 public slots: 00026 void openFile(QString fileName); 00027 void appendFile(QString fileName); 00028 void timerRoutine(); 00029 00030 private: 00031 QTimer *m_Timer; 00032 QString m_Name; 00033 QseInputFile* m_Data; 00034 bool m_Abort; 00035 bool m_Restart; 00036 QStringList m_FileNames; 00037 int m_Changed; 00038 }; 00039 00040 #endif
1.5.6