mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
refs #452, status messages
* DB support * finders and convenience methods
This commit is contained in:
committed by
Mathew Sutcliffe
parent
5587c06d37
commit
b5477c7c94
@@ -147,11 +147,17 @@ namespace BlackMisc
|
||||
//! To HTML
|
||||
QString toHtml() const;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! Representing icon
|
||||
static const CIcon &convertToIcon(const CStatusMessage &statusMessage);
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
//! Representing icon
|
||||
static const CIcon &convertToIcon(CStatusMessage::StatusSeverity severity);
|
||||
|
||||
//! Object from JSON
|
||||
static CStatusMessage fromDatabaseJson(const QJsonObject &json);
|
||||
|
||||
private:
|
||||
BLACK_ENABLE_TUPLE_CONVERSION(CStatusMessage)
|
||||
|
||||
Reference in New Issue
Block a user