QtMobility Reference Documentation

Contents

QOrganizerCollectionSaveRequest Class Reference

The QOrganizerCollectionSaveRequest class allows a client to asynchronously request organizeritems from a organizeritems store manager. More...

 #include <QOrganizerCollectionSaveRequest>

Inherits QOrganizerAbstractRequest.

Public Functions

QOrganizerCollectionSaveRequest ( QObject * parent = 0 )
~QOrganizerCollectionSaveRequest ()
QList<QOrganizerCollection> collections () const
QMap<int, QOrganizerManager::Error> errorMap () const
void setCollection ( const QOrganizerCollection & collection )
void setCollections ( const QList<QOrganizerCollection> & collections )

Additional Inherited Members

Detailed Description

The QOrganizerCollectionSaveRequest class allows a client to asynchronously request organizeritems from a organizeritems store manager.

For a QOrganizerCollectionSaveRequest, the resultsAvailable() signal will be emitted when the resultant organizeritems (which may be retrieved by calling organizeritems()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.

Member Function Documentation

QOrganizerCollectionSaveRequest::QOrganizerCollectionSaveRequest ( QObject * parent = 0 )

Constructs a new organizeritem fetch request whose parent is the specified parent

QOrganizerCollectionSaveRequest::~QOrganizerCollectionSaveRequest ()

Frees memory in use by this request

QList<QOrganizerCollection> QOrganizerCollectionSaveRequest::collections () const

Returns the collections which will be saved by this request if called prior to calling start(), otherwise returns the (possibly updated) collections which were saved.

See also setCollections().

QMap<int, QOrganizerManager::Error> QOrganizerCollectionSaveRequest::errorMap () const

Returns any errors which occurred during the request

void QOrganizerCollectionSaveRequest::setCollection ( const QOrganizerCollection & collection )

Clears the list of collections which will be saved, and sets the collection which will be saved to collection

void QOrganizerCollectionSaveRequest::setCollections ( const QList<QOrganizerCollection> & collections )

Sets the list of collections which will be saved to collections

See also collections().