QtMobility Reference Documentation

QML GeneralInfo Element

The GeneralInfo element allows you access to general system information and to receive notifications from the device. More...

This element was introduced in Mobility 1.1.

Properties

Signal Handlers

Methods

Detailed Description

This element is part of the QtMobility.systeminfo 1.1 module. It is a convience class to make QML usage easier.

Note: To use notification signals, you need to use the start* slots.

 Component.onCompleted {
     generalInfo.startCurrentLanguageChanged()
 }

See also QSystemInfo.

Property Documentation

availableLanguages : list

Returns a QStringList of available Qt language translations in two letter ISO 639-1 format. If the Qt translations cannot be found, returns the current system language.

This property group was introduced in Mobility 1.1.


currentCountryCode : string

Returns the two letter ISO 3166-1 for the current country code.

This property group was introduced in Mobility 1.1.


currentLanguage : string

Returns the current language in two letter ISO 639-1 format.

This property group was introduced in Mobility 1.1.


firmwareVersion : string

Returns the version of the firmware as a whole.

This property group was introduced in Mobility 1.1.


osVersion : string

Returns the version of the Operating System.

This property group was introduced in Mobility 1.1.


qtCoreVersion : string

Returns the version of the installed Qt Core library.

This property group was introduced in Mobility 1.1.


qtMobilityVersion : string

Returns the version of the installed Qt Mobility library.

This property group was introduced in Mobility 1.1.


Signal Handler Documentation

GeneralInfo::currentLanguageChanged ( string language )

This handler is called when current system language has changed. Note: To receive this notification, you must first call startCurrentLanguageChanged.

This documentation was introduced in Mobility 1.1.


Method Documentation

void GeneralInfo::startCurrentLanguageChanged ()

Start the connection for the currentLanguageChanged signal.

This documentation was introduced in Mobility 1.1.


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.