Conference Registration 2024.07.18.04
|
The FileReader class reads the contents of a file. More...
#include <filereader.h>
Public Member Functions | |
FileReader (const QString &fileName) | |
Constructs a FileReader object with the specified file name. | |
QString | read () const |
Reads the contents of the file. | |
The FileReader class reads the contents of a file.
This class reads the contents of a file and returns the contents as a QString.
|
explicit |
Constructs a FileReader object with the specified file name.
fileName | The name of the file to read. |
QString FileReader::read | ( | ) | const |
Reads the contents of the file.