Cppcheck
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 severity)
 
static Severity 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

◆ fromString()

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

Definition at line 44 of file erroritem.h.

References severityFromString().

Referenced by XmlReportV2::readError().

◆ toString()

static QString GuiSeverity::toString ( Severity  severity)
inlinestatic

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