Home · All Classes · All Functions ·

QContactTimestamp Class Reference

The QContactTimestamp class contains the creation and last-modified timestamp associated with the contact. More...

    #include <QContactTimestamp>

Inherits QContactDetail.


Public Functions

QDateTime created () const
QDateTime lastModified () const
void setCreated ( const QDateTime & dateTime )
void setLastModified ( const QDateTime & dateTime )

Public Variables

const char * DefinitionName
const char * FieldCreationTimestamp
const char * FieldModificationTimestamp

Additional Inherited Members


Detailed Description

The QContactTimestamp class contains the creation and last-modified timestamp associated with the contact.


Member Function Documentation

QDateTime QContactTimestamp::created () const

Returns the creation timestamp saved in this detail.

See also setCreated().

QDateTime QContactTimestamp::lastModified () const

Returns the last-modified timestamp saved in this detail.

See also setLastModified().

void QContactTimestamp::setCreated ( const QDateTime & dateTime )

Sets the creation timestamp saved in this detail to dateTime.

See also created().

void QContactTimestamp::setLastModified ( const QDateTime & dateTime )

Sets the last-modified timestamp saved in this detail to dateTime.

See also lastModified().


Member Variable Documentation

const char * QContactTimestamp::DefinitionName

The constant string which identifies the definition of details which are contact synchronisation timestamps.

const char * QContactTimestamp::FieldCreationTimestamp

The constant key for the value which is stored in details of the QContactTimestamp type which describes the creation date and time of a contact.

const char * QContactTimestamp::FieldModificationTimestamp

The constant key for the value which is stored in details of the QContactTimestamp type which describes the last modification date and time of a contact.


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