QOrganizerCollectionSaveRequest Class

The QOrganizerCollectionSaveRequest class allows a client to asynchronously save collections to a backend. More...

Header: #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 save collections to a backend.

Member Function Documentation

QOrganizerCollectionSaveRequest::QOrganizerCollectionSaveRequest(QObject *parent = 0)

Constructs a new collection save 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 have been saved.

See also setCollections().

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

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

void QOrganizerCollectionSaveRequest::setCollection(const QOrganizerCollection &collection)

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().