Home · All Classes · All Functions ·

QContactAnniversary Class Reference

The QContactAnniversary class contains an anniversary of a contact. More...

    #include <QContactAnniversary>

Inherits QContactDetail.


Public Functions

QString calendarId () const
QString event () const
QDate originalDate () const
void setCalendarId ( const QString & calendarId )
void setEvent ( const QString & event )
void setOriginalDate ( const QDate & date )
void setSubType ( const QString & subType )
QString subType () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldCalendarId
const QLatin1Constant FieldEvent
const QLatin1Constant FieldOriginalDate
const QLatin1Constant FieldSubType
const QLatin1Constant SubTypeEmployment
const QLatin1Constant SubTypeEngagement
const QLatin1Constant SubTypeMemorial
const QLatin1Constant SubTypeWedding

Detailed Description

The QContactAnniversary class contains an anniversary of a contact.


Member Function Documentation

QString QContactAnniversary::calendarId () const

* Returns the identifier of the calendar entry associated with this anniversary.

See also setCalendarId().

QString QContactAnniversary::event () const

Returns the name of the event for which this detail contains information.

See also setEvent().

QDate QContactAnniversary::originalDate () const

Returns the original date of occurrence of the event stored in this detail.

See also setOriginalDate().

void QContactAnniversary::setCalendarId ( const QString & calendarId )

Sets the identifier of the calendar entry associated with this anniversary to calendarId.

See also calendarId().

void QContactAnniversary::setEvent ( const QString & event )

Sets the name of the event for which this detail contains information to event.

See also event().

void QContactAnniversary::setOriginalDate ( const QDate & date )

Sets the original date of occurrence of the event stored in this detail to date.

See also originalDate().

void QContactAnniversary::setSubType ( const QString & subType )

Sets the subtype which this detail implements to be the given subType.

See also subType().

QString QContactAnniversary::subType () const

Returns the subtype that this detail implements, if defined.

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.

See also originalDate() and setOriginalDate().

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().


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.2