Qt Mobility Reference Documentation

QOrganizerItemDetailDefinitionRemoveRequest Class Reference

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

 #include <QOrganizerItemDetailDefinitionRemoveRequest>

Inherits QOrganizerItemAbstractRequest.


Public Functions

QOrganizerItemDetailDefinitionRemoveRequest ( QObject * parent = 0 )
QStringList definitionNames () const
QMap<int, QOrganizerItemManager::Error> errorMap () const
QString itemType () const
void setDefinitionName ( const QString & definitionName )
void setDefinitionNames ( const QStringList & names )
void setItemType ( const QString & organizeritemType )

Additional Inherited Members


Detailed Description

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

For a QOrganizerItemDetailDefinitionRemoveRequest, 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

QOrganizerItemDetailDefinitionRemoveRequest::QOrganizerItemDetailDefinitionRemoveRequest ( QObject * parent = 0 )

Constructs a new detail definition remove request whose parent is the specified parent

QStringList QOrganizerItemDetailDefinitionRemoveRequest::definitionNames () const

Returns the list of names of the detail definitions that will be removed from the manager

See also setDefinitionNames().

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

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

QString QOrganizerItemDetailDefinitionRemoveRequest::itemType () const

Returns the type of organizeritem for which detail definitions will be removed

See also setItemType().

void QOrganizerItemDetailDefinitionRemoveRequest::setDefinitionName ( const QString & definitionName )

Sets the name of the detail definition to remove from the manager to definitionName. Managers may store different definitions which are valid for different organizeritem types, and so attempting to remove definitions with certain names may fail if no such definitions exist for organizeritems of the given organizeritem type, specified via setItemType(). Equivalent to calling:

 setDefinitionNames(QStringList(definitionName));

See also setItemType().

void QOrganizerItemDetailDefinitionRemoveRequest::setDefinitionNames ( const QStringList & names )

Sets the names of the detail definitions to remove from the manager to names. Managers may store different definitions which are valid for different organizeritem types, and so attempting to remove definitions with certain names may fail if no such definitions exist for organizeritems of the given organizeritem type, specified via setItemType().

See also definitionNames() and setItemType().

void QOrganizerItemDetailDefinitionRemoveRequest::setItemType ( const QString & organizeritemType )

Sets the type of organizeritem for which detail definitions should be removed to organizeritemType

See also itemType().


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