Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QPhoneProfileManager class allows applications to control phone profiles. More...
#include <QPhoneProfileManager>
Inherits QObject.
The QPhoneProfileManager class allows applications to control phone profiles.
The Qt Extended phone profiles are stored in the Trolltech/PhoneProfile configuration file. A device may have any number of integrator or user defined profiles. Each profile has a unique integer identifier which is used to refer to it by the system.
To activate a profile manually use the QPhoneProfileManager::activateProfile() method.
See also QPhoneProfile and QPhoneProfileProvider.
Constructs a new QPhoneProfileManager with the given parent.
Destroys the QPhoneProfileManager object.
Returns true if able to activate the profile id; otherwise returns false. If profile is -1 or the specified profile does not exist, a null (default values) profile will be activated.
This is an overloaded member function, provided for convenience.
Returns true if able to activates the profile; otherwise returns false. If profile has not been saved, the saved version with the same QPhoneProfile::id() will be activated.
This call is equivalent to activateProfile(profile.id()).
Returns the currently active profile, or a null profile if no profile is active.
This signal is emitted whenever the active profile changes or is updated.
Returns a new QPhoneProfile instance with its id set to the next available integer.
Returns true if plane mode is active; otherwise returns false. Plane mode is active if either it is overridden or the plane mode for the active profile is true.
See also planeModeOverride() and QPhoneProfile::planeMode().
Returns true if plane mode is available; otherwise returns false.
This signal is emitted whenever the plane mode state changes. When plane mode is on enabled is true; otherwise false.
Returns true if plane mode override is on; otherwise returns false. The plane mode override allows plane mode to be enabled, even if the active profile does not specify it as such.
See also setPlaneModeOverride() and QPhoneProfile::planeMode().
Returns a QPhoneProfile for the given id if exists; otherwise returns a null QPhoneProfile.
This signal is emitted when a new profile is added.
Returns a list of ids for all configured profiles.
This signal is emitted when profile is removed.
This signal is emitted whenever profile is updated.
Returns all configured phone profiles.
Removes profile. If profile is a null profile, no action will be taken.
If profile is active, the default profile (QPhoneProfile::id() == 1) will be activated.
Saves the specified profile.
Saving a profile will overwrite any previously saved information.
Sets the current plane mode override state to mode.
See also planeModeOverride().
Forces the re-reading of the profile information.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |