freesmartphone.org Preferences Interface

Description

All the preferences values are grouped into services. The Preferences object is used to get the preferences Services objects. It can also set the current profile value.

Namespace

org.freesmartphone.Preferences

Methods

Signals

Properties

None

Errors

None

Methods

GetServices ( ) → as

Description: Return the list of all available services.

Returns:

as: services The list of all available services.

GetService ( s ) → o

Description: Retrieve a given service.

Parameters:*

s: name the name of the service, as returned by GetServices.

Returns:

o: service the path to the service object

GetProfiles ( ) → as

Description: Return a list of all the available profiles.

Returns:

as: profile The list of all the available profiles.

GetProfile ( ) → s

Description: Retrieve the current top profile.

Returns:

s: profile The name of the current profile.

SetProfile ( s )

Description: Set the current top profile.

Parameters:*

s: profile The name of the new current profile.

Signals

Changed ( s )

Description: Sent whenever there is a change of the active profile

Parameters:

s: profile The name of the new profile.