Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QPhoneProfileProvider class provides the backend functionality for phone profiles. More...
#include <QPhoneProfileProvider>
Inherits QObject.
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:
Key | Description |
---|---|
/UI/Profile/Name | The name of the profile, as returned by QPhoneProfile::name(). |
/UI/Profile/Default | True if this is the default profile (profile with id 1) or false if not. |
/UI/Profile/PlaneMode | True if plane mode is on, false if not, as returned by QPhoneProfileManager::planeMode(). |
/UI/Profile/RingVolume | Set 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 |