MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QContactSyncTarget Class Reference

The QContactSyncTarget class provides a sync target for a contact. More...

 #include <QContactSyncTarget>

Inherits: QContactDetail.

This class was introduced in Qt Mobility 1.0.

Public Functions

void setSyncTarget ( const QString & syncTarget )
QString syncTarget () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldSyncTarget

Detailed Description

The QContactSyncTarget class provides a sync target for a contact.

This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.

Member Function Documentation

void QContactSyncTarget::setSyncTarget ( const QString & syncTarget )

Sets the identifier of the backend store to which the contact containing this detail should be synchronized to syncTarget.

This function was introduced in Qt Mobility 1.0.

See also syncTarget().

QString QContactSyncTarget::syncTarget () const

Returns the identifier of the backend store to which the contact containing this detail should be synchronized.

This function was introduced in Qt Mobility 1.0.

See also setSyncTarget().

Member Variable Documentation

const QLatin1Constant QContactSyncTarget::DefinitionName

The string constant for the definition name of QContactSyncTarget details.

const QLatin1Constant QContactSyncTarget::FieldSyncTarget

The field key constant for the sync target value.

See also syncTarget() and setSyncTarget().