From ce3329047d378a14006ce74ec273ac59e3375303 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 12 May 2010 19:42:27 +0200 Subject: initial import of latest svn version --- src/util/TextFile.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/util/TextFile.h (limited to 'src/util/TextFile.h') diff --git a/src/util/TextFile.h b/src/util/TextFile.h new file mode 100644 index 0000000..49932fa --- /dev/null +++ b/src/util/TextFile.h @@ -0,0 +1,26 @@ +/* + * TextFile.h + * + * Created on: 13.02.2010 + * Author: Zahl + */ + +#ifndef TEXTFILE_H_ +#define TEXTFILE_H_ + +#include +#include + +class TextFile : public QTextStream +{ +public: + TextFile(QString filename); + virtual ~TextFile(); + bool good(); + bool eof(); +protected: + QFile *_file; + bool _good; +}; + +#endif /* TEXTFILE_H_ */ -- cgit v1.2.3-55-g7522