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)

Definition at line 44 of file erroritem.h.

Referenced by XmlReportV2::readError().

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

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