MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QOrganizerItemTimestamp Class Reference

The QOrganizerItemTimestamp class contains the creation and last-modified timestamp associated with the organizer item. XXX TODO: what about last accessed? More...

 #include <QOrganizerItemTimestamp>

Inherits: QOrganizerItemDetail.

This class was introduced in Qt Mobility 1.1.

Public Functions

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

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldCreationTimestamp
const QLatin1Constant FieldModificationTimestamp

Detailed Description

The QOrganizerItemTimestamp class contains the creation and last-modified timestamp associated with the organizer item. XXX TODO: what about last accessed?

Member Function Documentation

QDateTime QOrganizerItemTimestamp::created () const

Returns the creation timestamp saved in this detail.

This function was introduced in Qt Mobility 1.1.

See also setCreated().

QDateTime QOrganizerItemTimestamp::lastModified () const

Returns the last-modified timestamp saved in this detail.

This function was introduced in Qt Mobility 1.1.

See also setLastModified().

void QOrganizerItemTimestamp::setCreated ( const QDateTime & dateTime )

Sets the creation timestamp saved in this detail to dateTime.

This function was introduced in Qt Mobility 1.1.

See also created().

void QOrganizerItemTimestamp::setLastModified ( const QDateTime & dateTime )

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

This function was introduced in Qt Mobility 1.1.

See also lastModified().

Member Variable Documentation

const QLatin1Constant QOrganizerItemTimestamp::DefinitionName

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

const QLatin1Constant QOrganizerItemTimestamp::FieldCreationTimestamp

The constant key for the value which is stored in details of the QOrganizerItemTimestamp type which describes the creation date and time of an organizer item.

const QLatin1Constant QOrganizerItemTimestamp::FieldModificationTimestamp

The constant key for the value which is stored in details of the QOrganizerItemTimestamp type which describes the last modification date and time of an organizer item.