Cppcheck
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
GuiSeverity Class Reference

GUI versions of severity conversions. More...

#include <erroritem.h>

Static Public Member Functions

static QString toString (Severity::SeverityType severity)
 
static Severity::SeverityType fromString (const QString &severity)
 

Detailed Description

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.

Member Function Documentation

static Severity::SeverityType GuiSeverity::fromString ( const QString &  severity)
inlinestatic

Definition at line 44 of file erroritem.h.

References Severity::fromString().

Referenced by XmlReportV1::ReadError(), and XmlReportV2::ReadError().

static QString GuiSeverity::toString ( Severity::SeverityType  severity)
inlinestatic

The documentation for this class was generated from the following file: