MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

ProfileDetails Class Reference

(QSystemDeviceInfo::ProfileDetails)

The ProfileDetails class provides access to details of the currently active phone profile. More...

 #include <QSystemDeviceInfo>

This class was introduced in Qt Mobility 1.2.

Public Functions

ProfileDetails ()
ProfileDetails ( const ProfileDetails & other )
~ProfileDetails ()
int messageRingtoneVolume () const
bool vibrationActive () const
int voiceRingtoneVolume () const
ProfileDetails & operator= ( const ProfileDetails & other )

Detailed Description

The ProfileDetails class provides access to details of the currently active phone profile.

Note: All functions in this class are reentrant.

Member Function Documentation

ProfileDetails::ProfileDetails ()

Constructs a null ProfileDetails.

ProfileDetails::ProfileDetails ( const ProfileDetails & other )

Constructs the ProfileDetails that is a copy of other.

ProfileDetails::~ProfileDetails ()

Destroys the ProfileDetails.

int ProfileDetails::messageRingtoneVolume () const

Returns the active profile's message ringtone volume. From 0 to 100.

bool ProfileDetails::vibrationActive () const

Returns the whether the active profile's vibration is active.

int ProfileDetails::voiceRingtoneVolume () const

Returns the active profile's voice ringtone volume. From 0 to 100.

ProfileDetails & ProfileDetails::operator= ( const ProfileDetails & other )

Assigns other to this ProfileDetails and returns a reference to it.