MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QOrganizerItemDetailDefinitionRemoveRequest Class Reference

The QOrganizerItemDetailDefinitionRemoveRequest class allows a client to asynchronously request that certain detail definitions be removed from an organizer item manager. More...

 #include <QOrganizerItemDetailDefinitionRemoveRequest>

Inherits: QOrganizerAbstractRequest.

This class was introduced in Qt Mobility 1.1.

Public Functions

QOrganizerItemDetailDefinitionRemoveRequest ( QObject * parent = 0 )
~QOrganizerItemDetailDefinitionRemoveRequest ()
QStringList definitionNames () const
QMap<int, QOrganizerManager::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 an organizer item manager.

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

This function was introduced in Qt Mobility 1.1.

QOrganizerItemDetailDefinitionRemoveRequest::~QOrganizerItemDetailDefinitionRemoveRequest ()

Frees memory in use by this request

This function was introduced in Qt Mobility 1.2.

QStringList QOrganizerItemDetailDefinitionRemoveRequest::definitionNames () const

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

This function was introduced in Qt Mobility 1.1.

See also setDefinitionNames().

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

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

This function was introduced in Qt Mobility 1.1.

QString QOrganizerItemDetailDefinitionRemoveRequest::itemType () const

Returns the type of organizer item for which detail definitions will be removed

This function was introduced in Qt Mobility 1.1.

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 organizer item types, and so attempting to remove definitions with certain names may fail if no such definitions exist for organizer items of the given organizer item type, specified via setItemType(). Equivalent to calling:

 setDefinitionNames(QStringList(definitionName));

This function was introduced in Qt Mobility 1.1.

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 organizer item types, and so attempting to remove definitions with certain names may fail if no such definitions exist for organizer items of the given organizer item type, specified via setItemType().

This function was introduced in Qt Mobility 1.1.

See also definitionNames() and setItemType().

void QOrganizerItemDetailDefinitionRemoveRequest::setItemType ( const QString & organizeritemType )

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

This function was introduced in Qt Mobility 1.1.

See also itemType().