Home · All Classes · All Functions ·

QContactAnniversary Class Reference

The QContactAnniversary class contains the 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

Public Variables

const char * DefinitionName
const char * FieldCalendarId
const char * FieldEvent
const char * FieldOriginalDate
const char * FieldSubType
const char * SubTypeEmployment
const char * SubTypeEngagement
const char * SubTypeHouse
const char * SubTypeMemorial
const char * SubTypeWedding

Additional Inherited Members


Detailed Description

The QContactAnniversary class contains the 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 occurrance 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 occurrance 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 char * QContactAnniversary::DefinitionName

The constant string which identifies the definition of details which are anniversary dates.

const char * QContactAnniversary::FieldCalendarId

The constant key for which the value of the identifier of the associated calendar entry is stored in details of the QContactAnniversary type.

const char * QContactAnniversary::FieldEvent

The constant key for which the name of the event is stored in details of the QContactAnniversary type.

const char * QContactAnniversary::FieldOriginalDate

The constant key for which the anniversary original event date value is stored in details of the QContactAnniversary type.

const char * QContactAnniversary::FieldSubType

The constant key for which the subtypes value is stored in details of the QContactAnniversary type.

const char * QContactAnniversary::SubTypeEmployment

The constant attribute value which describes the anniversary as being an anniversary of employment at a particular company.

const char * QContactAnniversary::SubTypeEngagement

The constant attribute value which describes the anniversary as being an engagement anniversary.

const char * QContactAnniversary::SubTypeHouse

The constant attribute value which describes the anniversary as being an anniversary of ownership of a particular residence.

const char * QContactAnniversary::SubTypeMemorial

The constant attribute value which describes the anniversary as being an anniversary of an event of sentimental significance.

const char * QContactAnniversary::SubTypeWedding

The constant attribute value which describes the anniversary as being a wedding anniversary.


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