Home · All Classes · All Functions ·

QContactDetailDefinitionSaveRequest Class Reference

The QContactDetailDefinitionSaveRequest class allows a client to asynchronously request that certain detail definitions be saved in a contacts store. More...

    #include <QContactDetailDefinitionSaveRequest>

Inherits QContactAbstractRequest.


Public Functions

QContactDetailDefinitionSaveRequest ()
~QContactDetailDefinitionSaveRequest ()
QString contactType () const
QList<QContactDetailDefinition> definitions () const
QMap<int, QContactManager::Error> errorMap () const
void setContactType ( const QString & contactType )
void setDefinitions ( const QList<QContactDetailDefinition> & definitions )

Additional Inherited Members


Detailed Description

The QContactDetailDefinitionSaveRequest class allows a client to asynchronously request that certain detail definitions be saved in a contacts store.

For a QContactDetailDefinitionSaveRequest, the resultsAvailable() signal will be emitted when either the individual item errors (which may be retrieved by calling errorMap()), or the resultant detail definitions (which may be retrieved by calling definitions()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.


Member Function Documentation

QContactDetailDefinitionSaveRequest::QContactDetailDefinitionSaveRequest ()

Constructs a new detail definition save request

QContactDetailDefinitionSaveRequest::~QContactDetailDefinitionSaveRequest ()

Cleans up the memory in use by this detail definition save request

QString QContactDetailDefinitionSaveRequest::contactType () const

Returns the type of contact for which detail definitions will be saved

See also setContactType().

QList<QContactDetailDefinition> QContactDetailDefinitionSaveRequest::definitions () const

Returns the list of definitions that will be saved if called prior to calling start(), otherwise returns the list of detail definitions as they were saved in the contacts store

See also setDefinitions().

QMap<int, QContactManager::Error> QContactDetailDefinitionSaveRequest::errorMap () const

Returns the map of input definition list indices to errors which occurred

void QContactDetailDefinitionSaveRequest::setContactType ( const QString & contactType )

Sets the type of contact for which detail definitions should be saved to contactType

See also contactType().

void QContactDetailDefinitionSaveRequest::setDefinitions ( const QList<QContactDetailDefinition> & definitions )

Sets the definitions to save to be definitions

See also definitions().


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