My Project
filemanip.h
1 #ifndef FILEMANIP_H
2 #define FILEMANIP_H
3 #include <QString>
4 #include <QFile>
5 #include <QTextStream>
6 #include <QDebug>
7 
12 class filemanip
13 {
14 public:
15 
21  filemanip() ;
22 
28  filemanip(QString filename);
29 
35  QString getnext() ;
36 
42  void reset() ;
43 
49  ~filemanip() ;
50 private:
51  QFile *file ;
52  QTextStream *in ;
53 };
54 
55 #endif // FILEMANIP_H
filemanip()
Constructor that sets a fixed dvd file.
Definition: filemanip.cpp:9
Definition: filemanip.h:12
void reset()
File pointer points to the start of the file.
Definition: filemanip.cpp:56
QTextStream * in
Definition: filemanip.h:52
QFile * file
Definition: filemanip.h:51
QString getnext()
Returns the next file text line.
Definition: filemanip.cpp:34
~filemanip()
Destructor.
Definition: filemanip.cpp:45