Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QPhoneProfileProvider Class Reference
[QtTelephonyModule]

The QPhoneProfileProvider class provides the backend functionality for phone profiles. More...

    #include <QPhoneProfileProvider>

Inherits QObject.

Additional Inherited Members


Detailed Description

The QPhoneProfileProvider class provides the backend functionality for phone profiles.

The QPhoneProfileProvider class provides the auto activation portion of the profile system. Profiles may be auto activated at a specific time, controlled through the QPhoneProfile::schedule() value, or whenever the QPhoneProfile::audioProfile() profile is active.

Currently the QPhoneProfileProvider class checks the QAudioStateConfiguration to obtain updates about audio states.

Additionally, the QPhoneProfileProvider class sets the following value space keys to values dictated by the currently active profile:

KeyDescription
/UI/Profile/NameThe name of the profile, as returned by QPhoneProfile::name().
/UI/Profile/DefaultTrue if this is the default profile (profile with id 1) or false if not.
/UI/Profile/PlaneModeTrue if plane mode is on, false if not, as returned by QPhoneProfileManager::planeMode().
/UI/Profile/RingVolumeSet to the ring volume of the current profile, as returned by QPhoneProfile::volume().

The QPhoneProfileProvider provides the PhoneProfiles task. This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.

See also QPhoneProfile and QPhoneProfileManager.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3