Home · All Classes · All Functions ·

QContactSaveRequest Class Reference

The QContactSaveRequest class allows a client to asynchronously request that certain contacts be saved to a contacts store. More...

    #include <QContactSaveRequest>

Inherits QContactAbstractRequest.


Public Functions

QContactSaveRequest ()
~QContactSaveRequest ()
QList<QContact> contacts () const
QMap<int, QContactManager::Error> errorMap () const
void setContacts ( const QList<QContact> & contacts )

Signals

void progress ( QContactSaveRequest * self )

Additional Inherited Members


Detailed Description

The QContactSaveRequest class allows a client to asynchronously request that certain contacts be saved to a contacts store.

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


Member Function Documentation

QContactSaveRequest::QContactSaveRequest ()

Constructs a new contact save request

QContactSaveRequest::~QContactSaveRequest ()

Cleans up the memory in use by this contact save request

QList<QContact> QContactSaveRequest::contacts () const

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

See also setContacts().

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

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

void QContactSaveRequest::progress ( QContactSaveRequest * self )   [signal]

This signal is emitted when some progress has been made on the request, causing either a change of status or an update of results, or both. It identifies which request the signal originated from by including a pointer to self.

void QContactSaveRequest::setContacts ( const QList<QContact> & contacts )

Sets the list of contacts to be saved to contacts

See also contacts().


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