mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 12:15:29 +08:00
Settings, added TSettingTrait::humanReadable and used copydoc, T159 related
This commit is contained in:
committed by
Mathew Sutcliffe
parent
88a1c9f5d4
commit
7cdfe8c914
@@ -22,11 +22,14 @@ namespace BlackGui
|
||||
//! Trait for directory settings
|
||||
struct TUpdateNotificationSettings : public BlackMisc::TSettingTrait<bool>
|
||||
{
|
||||
//! Key in data cache
|
||||
//! \copydoc BlackCore::TSettingTrait::key
|
||||
static const char *key() { return "guiupdatenotification/%Application%"; }
|
||||
|
||||
//! Default, not consolidating
|
||||
//! \copydoc BlackCore::TSettingTrait::defaultValue
|
||||
static const bool &defaultValue() { static const bool d = true; return d; }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::humanReadable
|
||||
static const QString &humanReadable() { static const QString name("Update notification"); return name; }
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user