Qt Mobility Reference Documentation

QOrganizerItemRemoveRequest Class Reference

The QOrganizerItemRemoveRequest class allows a client to asynchronously request that certain organizeritems be removed from a organizeritems store. More...

 #include <QOrganizerItemRemoveRequest>

Inherits QOrganizerItemAbstractRequest.


Public Functions

QOrganizerItemRemoveRequest ( QObject * parent = 0 )
QMap<int, QOrganizerItemManager::Error> errorMap () const
QList<QOrganizerItemLocalId> itemIds () const
void setItemId ( const QOrganizerItemLocalId & organizeritemId )
void setItemIds ( const QList<QOrganizerItemLocalId> & organizeritemIds )

Additional Inherited Members


Detailed Description

The QOrganizerItemRemoveRequest class allows a client to asynchronously request that certain organizeritems be removed from a organizeritems store.

For a QOrganizerItemRemoveRequest, the resultsUpdated() signal will be emitted when the individual item errors (which may be retrieved by calling errorMap()) are updated, or if the overall operation error (which may be retrieved by calling error()) is updated.


Member Function Documentation

QOrganizerItemRemoveRequest::QOrganizerItemRemoveRequest ( QObject * parent = 0 )

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

QMap<int, QOrganizerItemManager::Error> QOrganizerItemRemoveRequest::errorMap () const

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

QList<QOrganizerItemLocalId> QOrganizerItemRemoveRequest::itemIds () const

Returns the list of ids of organizeritems which will be removed

See also setItemIds().

void QOrganizerItemRemoveRequest::setItemId ( const QOrganizerItemLocalId & organizeritemId )

Sets the id of the organizeritem which will be removed to organizeritemId. Equivalent to calling:

 setOrganizerItemIds(QList<QOrganizerItemLocalId>() << organizeritemIds);

void QOrganizerItemRemoveRequest::setItemIds ( const QList<QOrganizerItemLocalId> & organizeritemIds )

Sets the list of ids of organizeritems which will be removed to organizeritemIds

See also itemIds().


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