The QOrganizerItemSaveRequest class allows a client to asynchronously request that certain organizer items be saved to an organizer item store. More...
#include <QOrganizerItemSaveRequest>
Inherits QOrganizerAbstractRequest.
QOrganizerItemSaveRequest ( QObject * parent = 0 ) | |
QMap<int, QOrganizerManager::Error> | errorMap () const |
QList<QOrganizerItem> | items () const |
void | setItem ( const QOrganizerItem & organizeritem ) |
void | setItems ( const QList<QOrganizerItem> & organizeritems ) |
The QOrganizerItemSaveRequest class allows a client to asynchronously request that certain organizer items be saved to an organizer item store.
For a QOrganizerItemSaveRequest, the resultsAvailable() signal will be emitted when either the individual item errors (which may be retrieved by calling errorMap()), or the resultant organizer items (which may be retrieved by calling items()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.
Constructs a new organizer item save request whose parent is the specified parent
Returns the map of input definition list indices to errors which occurred
Returns the list of organizer items which will be saved if called prior to calling start(), otherwise returns the list of organizer items as they were saved in the organizer item store
See also setItems().
Sets the organizer item to be saved to organizeritem. Equivalent to calling:
setOrganizerItems(QList<QOrganizerItem>() << organizeritem);
Sets the list of organizer items to be saved to organizeritems
See also items().