Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS

Nemo QML Plugin Configuration

API Documentation
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Properties
  • Methods
  • Detailed Description
  • Type conversion

ConfigurationValue QML Type

Provides access to a single configuration value More...

Import Statement: import Nemo.Configuration 1.0
  • List of all members, including inherited members

Properties

  • defaultValue : variant
  • key : string
  • value : variant

Methods

  • void sync()

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 typeDConf typeNotes
undefinedAn undefined value denotes an unset DConf key.
doubledouble
intinteger
boolboolean
stringstringDConf strings are always UTF-8 encoded.
list<string>list of strings
list<variant>list of variantsDConf 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

defaultValue : variant

This property holds the default value of the value property if key does not exist.


key : string

This property holds the key that this ConfigurationValue represents.


value : variant

This property holds the configuration value represented by key.


Method Documentation

void sync()

Forces the value to be synchronized with the backing store.


  • Legal
  • Contact Us
  • Jollyboys Ltd © 2024

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn