#include <statusevent.h>
Inheritance diagram for StatusEvent:
Public Member Functions | |
StatusEvent (QEvent::Type type, tc::Severity severity) | |
tc::Severity | severity () const |
Static Public Member Functions | |
static tc::Severity | severityFromString (const QString &str) |
Private Attributes | |
tc::Severity | _severity |
Definition at line 26 of file statusevent.h.
StatusEvent::StatusEvent | ( | QEvent::Type | type, | |
tc::Severity | severity | |||
) | [inline] |
Constructor
Definition at line 30 of file statusevent.h.
tc::Severity StatusEvent::severity | ( | ) | const [inline] |
Returns the severity of this status event.
Definition at line 34 of file statusevent.h.
References _severity.
static tc::Severity StatusEvent::severityFromString | ( | const QString & | str | ) | [static] |
Returns a StatusEvent::Severity enum value for the severity represented by str.
tc::Severity StatusEvent::_severity [private] |
Severity of this status event.
Definition at line 40 of file statusevent.h.
Referenced by severity().