QtMobility Reference Documentation

QOrganizerCollectionSaveRequest Class Reference

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

 #include <QOrganizerCollectionSaveRequest>

Inherits: QOrganizerAbstractRequest.

This class was introduced in Qt Mobility 1.1.

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

This function was introduced in Qt Mobility 1.1.

QOrganizerCollectionSaveRequest::~QOrganizerCollectionSaveRequest ()

Frees memory in use by this request

This function was introduced in Qt Mobility 1.2.

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.

This function was introduced in Qt Mobility 1.1.

See also setCollections().

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

Returns any errors which occurred during the request

This function was introduced in Qt Mobility 1.1.

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

This function was introduced in Qt Mobility 1.1.

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

Sets the list of collections which will be saved to collections

This function was introduced in Qt Mobility 1.1.

See also collections().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.