26 mFilename(std::move(filename))
37 if (!
mFile.isOpen()) {
39 succeed =
mFile.open(QIODevice::WriteOnly | QIODevice::Text);
47 if (!
mFile.isOpen()) {
49 succeed =
mFile.open(QIODevice::ReadOnly | QIODevice::Text);
QFile * getFile()
Get the file object where the report is written to.
void close()
Close the report (file).
virtual bool open()
Open the existing report (file).
virtual bool create()
Create the report (file).
QString mFilename
Filename of the report.
QFile mFile
Fileobject for the report file.