mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:07:04 +08:00
refs #338 Severity strings.
This commit is contained in:
@@ -99,9 +99,18 @@ namespace BlackMisc
|
||||
//! Representing icon
|
||||
virtual CIcon toIcon() const override { return CStatusMessage::convertToIcon(*this); }
|
||||
|
||||
//! Type as string
|
||||
//! Severity as string
|
||||
const QString &getSeverityAsString() const;
|
||||
|
||||
//! Severity as string
|
||||
static const QString &severityToString(StatusSeverity severity);
|
||||
|
||||
//! Severity as string
|
||||
static StatusSeverity stringToSeverity(const QString &severityString);
|
||||
|
||||
//! Severities as strings
|
||||
static const QStringList &allSeverityStrings();
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex(int)
|
||||
virtual QVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user