Home · All Classes · Grouped Classes · Annotated · Functions

QPhoneProfileProvider Class Reference

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 Qtopia server and cannot be used by other Qtopia applications.

See also QPhoneProfile and QPhoneProfileManager.


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3