QOrganizerItemRemoveRequest Class

The QOrganizerItemRemoveRequest class allows a client to asynchronously request that certain organizer items be removed from a backend. More...

Header: #include <QOrganizerItemRemoveRequest>
Inherits: QOrganizerAbstractRequest

Public Functions

QOrganizerItemRemoveRequest(QObject * parent = 0)
~QOrganizerItemRemoveRequest()
QMap<int, QOrganizerManager::Error> errorMap() const
QList<QOrganizerItem> items() const
void setItem(const QOrganizerItem & item)
void setItems(const QList<QOrganizerItem> & items)

Additional Inherited Members

Detailed Description

The QOrganizerItemRemoveRequest class allows a client to asynchronously request that certain organizer items be removed from a backend.

This request will remove the items and all the occurrences (both generated and persisted) of the given items.

Member Function Documentation

QOrganizerItemRemoveRequest::QOrganizerItemRemoveRequest(QObject * parent = 0)

Constructs a new organizer item remove request whose parent is the specified parent.

QOrganizerItemRemoveRequest::~QOrganizerItemRemoveRequest()

Frees memory in use by this request.

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

Returns the map of input organizer item list indices to errors which occurred.

QList<QOrganizerItem> QOrganizerItemRemoveRequest::items() const

Returns the list of IDs of organizer items which will be removed.

See also setItems().

void QOrganizerItemRemoveRequest::setItem(const QOrganizerItem & item)

Sets the organizer item which will be removed to item. Equivalent to calling:

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

void QOrganizerItemRemoveRequest::setItems(const QList<QOrganizerItem> & items)

Sets the organizer items which will be removed to items

See also items().