Qt Mobility Reference Documentation

QOrganizerItemSaveRequest Class Reference

The QOrganizerItemSaveRequest class allows a client to asynchronously request that certain organizeritems be saved to a organizeritems store. More...

 #include <QOrganizerItemSaveRequest>

Inherits QOrganizerItemAbstractRequest.


Public Functions

QOrganizerItemSaveRequest ( QObject * parent = 0 )
QMap<int, QOrganizerItemManager::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 organizeritems be saved to a organizeritems 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 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

QOrganizerItemSaveRequest::QOrganizerItemSaveRequest ( QObject * parent = 0 )

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

QMap<int, QOrganizerItemManager::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 organizeritems which will be saved if called prior to calling start(), otherwise returns the list of organizeritems as they were saved in the organizeritems store

See also setItems().

void QOrganizerItemSaveRequest::setItem ( const QOrganizerItem & organizeritem )

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

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

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

Sets the list of organizeritems to be saved to organizeritems

See also items().


Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0