47 const QString file = QDir::toNativeSeparators(
error.errorPath.back().file);
48 QString line = QString(
"%1,%2,").arg(file).arg(
error.errorPath.back().line);
A class containing error data for one error.
static QString toString(Severity severity)
void writeFooter() override
Write report footer.
const QString & getFormattedReportText() const
Returns the formatted report.
void writeError(const ErrorItem &error) override
Write error to report.
void writeHeader() override
Write report header.
QString mFormattedReport
Stores the formatted report contents.
bool create() override
Create the report (file).
A base class for reports.
@ error
Programming error.