Member Function Documentation
QString QContactAnniversary::calendarId () const
* Returns the identifier of the calendar entry associated with this anniversary. *
This function was introduced in Qt Mobility 1.0.
See also setCalendarId().
QString QContactAnniversary::event () const
Returns the name of the event for which this detail contains information.
This function was introduced in Qt Mobility 1.0.
See also setEvent().
QDate QContactAnniversary::originalDate () const
Returns the original date of the event stored in this detail. If the original event occurrence stored is a QDateTime, this returns the date portion.
See also setOriginalDate().
QDateTime QContactAnniversary::originalDateTime () const
Returns the original date and time of the event stored in this detail. If the original event occurrence stored is a QDate, this returns a QDateTime with the time set to midnight.
This function was introduced in Qt Mobility 1.0.
See also setOriginalDateTime().
void QContactAnniversary::setCalendarId ( const QString & calendarId )
Sets the identifier of the calendar entry associated with this anniversary to calendarId.
This function was introduced in Qt Mobility 1.0.
See also calendarId().
void QContactAnniversary::setEvent ( const QString & event )
Sets the name of the event for which this detail contains information to event.
This function was introduced in Qt Mobility 1.0.
See also event().
void QContactAnniversary::setOriginalDate ( const QDate & date )
Sets the original date of the event stored in this detail to date.
This function was introduced in Qt Mobility 1.0.
See also originalDate().
void QContactAnniversary::setOriginalDateTime ( const QDateTime & dateTime )
Sets the original date and time of the event stored in this detail to dateTime.
See also originalDateTime().
void QContactAnniversary::setSubType ( const QString & subType )
Sets the subtype which this detail implements to be the given subType.
This function was introduced in Qt Mobility 1.0.
See also subType().
QString QContactAnniversary::subType () const
Returns the subtype that this detail implements, if defined.
This function was introduced in Qt Mobility 1.0.
See also setSubType().
Member Variable Documentation
const QLatin1Constant QContactAnniversary::DefinitionName
The string constant for the definition name of QContactAnniversary details.
const QLatin1Constant QContactAnniversary::FieldCalendarId
The field key constant for the value containing the id of the calendar event.
See also calendarId() and setCalendarId().
const QLatin1Constant QContactAnniversary::FieldEvent
The field key constant for the name of the event value.
See also event() and setEvent().
const QLatin1Constant QContactAnniversary::FieldOriginalDate
The field key constant for the original anniversary date value.
This field is either a date, or a date and time. Some managers may support either type, while others may convert the value here to a specific type (either discarding the time if only a date is supported, or by using midnight if a time is not supplied).
See also originalDate(), setOriginalDate(), originalDateTime(), and setOriginalDateTime().
const QLatin1Constant QContactAnniversary::FieldSubType
The field key constant for the field that stores the sub type of a QContactAnniversary.
See also subType() and setSubType().
const QLatin1Constant QContactAnniversary::SubTypeEmployment
The predefined string constant for a sub type value, indicating this anniversary is the anniversary of a start of employment.
See also subType() and setSubType().
const QLatin1Constant QContactAnniversary::SubTypeEngagement
The predefined string constant for a sub type value, indicating this anniversary is the anniversary of an engagement.
See also subType() and setSubType().
const QLatin1Constant QContactAnniversary::SubTypeMemorial
The predefined string constant for a sub type value, indicating this anniversary is an anniversary of an event of sentimental significance.
See also subType() and setSubType().
const QLatin1Constant QContactAnniversary::SubTypeWedding
The predefined string constant for a sub type value, indicating this anniversary is a wedding anniversary.
See also subType() and setSubType().