QtMobility Reference Documentation

QContactRingtone Class Reference

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

 #include <QContactRingtone>

Inherits: QContactDetail.

This class was introduced in Qt Mobility 1.0.

Public Functions

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

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldAudioRingtoneUrl
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.

This function was introduced in Qt Mobility 1.0.

See also setAudioRingtoneUrl().

void QContactRingtone::setAudioRingtoneUrl ( const QUrl & audioRingtoneUrl )

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

This function was introduced in Qt Mobility 1.0.

See also audioRingtoneUrl().

void QContactRingtone::setVideoRingtoneUrl ( const QUrl & videoRingtoneUrl )

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

This function was introduced in Qt Mobility 1.0.

See also videoRingtoneUrl().

QUrl QContactRingtone::videoRingtoneUrl () const

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

This function was introduced in Qt Mobility 1.0.

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::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.