Cppcheck
|
GUI versions of severity conversions. More...
#include <erroritem.h>
Static Public Member Functions | |
static QString | toString (Severity severity) |
static Severity | fromString (const QString &severity) |
GUI versions of severity conversions.
GUI needs wrappers for conversion functions since GUI uses Qt's QString instead of the std::string used by lib/cli.
Definition at line 38 of file erroritem.h.
|
inlinestatic |
Definition at line 44 of file erroritem.h.
References severityFromString().
Referenced by XmlReportV2::readError().
|
inlinestatic |
Definition at line 40 of file erroritem.h.
References severityToString().
Referenced by ErrorItem::toString(), CsvReport::writeError(), PrintableReport::writeError(), TxtReport::writeError(), and XmlReportV2::writeError().