Home · All Classes · All Functions ·

QContactDetailDefinitionRemoveRequest Class Reference

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

    #include <QContactDetailDefinitionRemoveRequest>

Inherits QContactAbstractRequest.


Public Functions

QContactDetailDefinitionRemoveRequest ()
~QContactDetailDefinitionRemoveRequest ()
QString contactType () const
QStringList definitionNames () const
QMap<int, QContactManager::Error> errorMap () const
void setDefinitionNames ( const QString & contactType, const QStringList & names )

Additional Inherited Members


Detailed Description

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

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

QContactDetailDefinitionRemoveRequest::QContactDetailDefinitionRemoveRequest ()

Constructs a new detail definition remove request

QContactDetailDefinitionRemoveRequest::~QContactDetailDefinitionRemoveRequest ()

Cleans up the memory in use by this detail definition remove request

QString QContactDetailDefinitionRemoveRequest::contactType () const

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

QStringList QContactDetailDefinitionRemoveRequest::definitionNames () const

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

See also setDefinitionNames().

QMap<int, QContactManager::Error> QContactDetailDefinitionRemoveRequest::errorMap () const

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

void QContactDetailDefinitionRemoveRequest::setDefinitionNames ( const QString & contactType, const QStringList & names )

Sets the type of contact for which detail definitions should be removed to contactType, and the names of the detail definitions to remove from the manager to names. Managers may store different definitions which are valid for different contact types, and so attempting to remove definitions with certain names may fail if no such definitions exist for contacts of the given contact type, or if contactType is empty.

See also definitionNames().


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