Qt Mobility Reference Documentation

QOrganizerItemSaveRequest Class Reference

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.


Public Functions

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 )

Additional Inherited Members


Detailed Description

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.


Member Function Documentation

QOrganizerItemSaveRequest::QOrganizerItemSaveRequest ( QObject * parent = 0 )

Constructs a new organizer item save request whose parent is the specified parent

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

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

QList<QOrganizerItem> QOrganizerItemSaveRequest::items () const

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

void QOrganizerItemSaveRequest::setItem ( const QOrganizerItem & organizeritem )

Sets the organizer item to be saved to organizeritem. Equivalent to calling:

 setOrganizerItems(QList<QOrganizerItem>() << organizeritem);

void QOrganizerItemSaveRequest::setItems ( const QList<QOrganizerItem> & organizeritems )

Sets the list of organizer items to be saved to organizeritems

See also items().

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.