Qt Mobility Reference Documentation

QContactRingtone Class Reference

The QContactRingtone class provides a ringtone associated with a contact More...

 #include <QContactRingtone>

Inherits QContactDetail.


Public Functions

QUrl audioRingtoneUrl () const
void setAudioRingtoneUrl ( const QUrl & audioRingtoneUrl )
void setVibrationRingtoneUrl ( const QUrl & vibrationRingtoneUrl )
void setVideoRingtoneUrl ( const QUrl & videoRingtoneUrl )
QUrl vibrationRingtoneUrl () const
QUrl videoRingtoneUrl () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldAudioRingtoneUrl
const QLatin1Constant FieldVibrationRingtoneUrl
const QLatin1Constant FieldVideoRingtoneUrl

Detailed Description

The QContactRingtone class provides a ringtone associated with a contact

This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.


Member Function Documentation

QUrl QContactRingtone::audioRingtoneUrl () const

Returns the uri of the audio ringtone stored in the ringtone detail.

See also setAudioRingtoneUrl().

void QContactRingtone::setAudioRingtoneUrl ( const QUrl & audioRingtoneUrl )

Sets the uri of the audio ringtone stored in the ringtone detail to audioRingtoneUrl.

See also audioRingtoneUrl().

void QContactRingtone::setVibrationRingtoneUrl ( const QUrl & vibrationRingtoneUrl )

Sets the uri of the vibration ringtone stored in the ringtone detail to vibrationRingtoneUrl.

See also vibrationRingtoneUrl().

void QContactRingtone::setVideoRingtoneUrl ( const QUrl & videoRingtoneUrl )

Sets the uri of the video ringtone stored in the ringtone detail to videoRingtoneUrl.

See also videoRingtoneUrl().

QUrl QContactRingtone::vibrationRingtoneUrl () const

Returns the uri of the vibration ringtone stored in the ringtone detail.

See also setVibrationRingtoneUrl().

QUrl QContactRingtone::videoRingtoneUrl () const

Returns the uri of the video ringtone stored in the ringtone detail.

See also setVideoRingtoneUrl().


Member Variable Documentation

const QLatin1Constant QContactRingtone::DefinitionName

The string constant for the definition name of QContactRingtone details.

const QLatin1Constant QContactRingtone::FieldAudioRingtoneUrl

The field key constant for the value of the URL for an audio ringtone.

See also setAudioRingtoneUrl() and audioRingtoneUrl().

const QLatin1Constant QContactRingtone::FieldVibrationRingtoneUrl

The field key constant for the value of the URL for a vibration ringtone.

See also setVibrationRingtoneUrl() and vibrationRingtoneUrl().

const QLatin1Constant QContactRingtone::FieldVideoRingtoneUrl

The field key constant for the value of the URL for a video ringtone.

See also setVideoRingtoneUrl() and videoRingtoneUrl().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.