swift
|
Trait for settings about update rates. More...
Static Public Member Functions | |
static const char * | key () |
Key string of the value. Reimplemented in derived class. More... | |
static const QString & | humanReadable () |
Optional human readable name. More... | |
static bool | isValid (const CViewUpdateSettings &settings, QString &) |
Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value. More... | |
![]() | |
static const char * | key () |
Key string of the value. Reimplemented in derived class. | |
static const QString & | humanReadable () |
Optional human readable name. | |
static bool | isValid (const CViewUpdateSettings &value, QString &reason) |
Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value. | |
static const CViewUpdateSettings & | defaultValue () |
Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value. | |
Additional Inherited Members | |
![]() | |
using | type = CViewUpdateSettings |
Data type of the value. | |
![]() | |
TSettingTrait ()=delete | |
Deleted default constructor. | |
TSettingTrait (const TSettingTrait &)=delete | |
Deleted copy constructor. | |
TSettingTrait & | operator= (const TSettingTrait &)=delete |
Deleted copy assignment operator. | |
Trait for settings about update rates.
Definition at line 101 of file viewupdatesettings.h.
|
inlinestatic |
Optional human readable name.
Definition at line 107 of file viewupdatesettings.h.
|
inlinestatic |
Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value.
Definition at line 114 of file viewupdatesettings.h.
|
inlinestatic |
Key string of the value. Reimplemented in derived class.
Definition at line 104 of file viewupdatesettings.h.