ConfigurationValue QML Type
Provides access to a single configuration value More...
Import Statement: | import Nemo.Configuration 1.0 |
Properties
Methods
Detailed Description
ConfigurationValue provides access to a single DConf key. The DConf key value is accessible via the value property.
Type conversion
Values are automatically converted between QML/JS and DConf values as needed.
QML/JS type | DConf type | Notes |
undefined | | An undefined value denotes an unset DConf key. |
double | double | |
int | integer | |
bool | boolean | |
string | string | DConf strings are always UTF-8 encoded. |
list<string> | list of strings | |
list<variant> | list of variants | DConf requires that all elements of a list have the same type. If the variant type is string a list<string> will be returned instead of list<variant>. |
Unsupported types, which cannot be converted to a supported type, are ignored.
Property Documentation
This property holds the default value of the value property if key does not exist.
This property holds the configuration value represented by key.
Method Documentation
Forces the value to be synchronized with the backing store.