QDeviceProfile ClassThe QDeviceProfile class provides details for the profile of the device. More... #include <QDeviceProfile> Inherits: QObject. Public Types
Properties
Public Functions
Signals
Additional Inherited Members
Detailed DescriptionThe QDeviceProfile class provides details for the profile of the device. Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QDeviceProfile::UnknownProfile | 0 | Profile unknown, profile type requested but no result received yet or an error occured. |
QDeviceProfile::SilentProfile | 1 | Neither sound nor vibration is on. |
QDeviceProfile::NormalProfile | 2 | Normal sound is on. |
QDeviceProfile::VibrationProfile | 3 | Only vibration is on, and sound is off. |
QDeviceProfile::BeepProfile | 4 | Only beep is on. |
This property holds the current activated profile.
Returns the type for this profile.
Access functions:
ProfileType | currentProfileType() const |
Notifier signal:
void | currentProfileTypeChanged(QDeviceProfile::ProfileType profile) |
This property holds vibration activated or deactivated.
Returns whether the vibration is active for this profile.
Access functions:
bool | isVibrationActivated() const |
Notifier signal:
void | vibrationActivatedChanged(bool activated) |
This property holds the message ringtone volume.
Returns the message ringtone volume for this profile, from 0 to 100. If this information is unknown, message volume requested but no result received yet or error occurs the -1 is returned.
Access functions:
int | messageRingtoneVolume() const |
Notifier signal:
void | messageRingtoneVolumeChanged(int volume) |
This property holds the voice ringtone volume.
Returns the voice ringtone volume for this profile, from 0 to 100. If this information is unknown, voice volume requested but no result received yet or error occurs the -1 is returned.
Access functions:
int | voiceRingtoneVolume() const |
Notifier signal:
void | voiceRingtoneVolumeChanged(int volume) |
Constructs a QDeviceProfile object with the given parent.
Destroys the object