QtMobility Reference Documentation

QContactRelationshipRemoveRequest Class Reference

The QContactRelationshipRemoveRequest class allows a client to asynchronously request that certain relationships be removed from a contacts store. More...

 #include <QContactRelationshipRemoveRequest>

Inherits: QContactAbstractRequest.

This class was introduced in Qt Mobility 1.0.

Public Functions

QContactRelationshipRemoveRequest ( QObject * parent = 0 )
~QContactRelationshipRemoveRequest ()
QMap<int, QContactManager::Error> errorMap () const
QList<QContactRelationship> relationships () const
void setRelationship ( const QContactRelationship & relationship )
void setRelationships ( const QList<QContactRelationship> & relationships )

Additional Inherited Members

Detailed Description

The QContactRelationshipRemoveRequest class allows a client to asynchronously request that certain relationships be removed from a contacts store.

For a QContactRelationshipRemoveRequest, 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.

Please see the class documentation of QContactAbstractRequest for more information about the usage of request classes and ownership semantics.

Member Function Documentation

QContactRelationshipRemoveRequest::QContactRelationshipRemoveRequest ( QObject * parent = 0 )

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

QContactRelationshipRemoveRequest::~QContactRelationshipRemoveRequest ()

Frees any memory used by this request

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

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

This function was introduced in Qt Mobility 1.0.

QList<QContactRelationship> QContactRelationshipRemoveRequest::relationships () const

Returns the list of relationships which will be removed

This function was introduced in Qt Mobility 1.0.

See also setRelationships().

void QContactRelationshipRemoveRequest::setRelationship ( const QContactRelationship & relationship )

Sets the relationship which will be removed to relationship. Equivalent to calling:

 setRelationships(QList<QContactRelationship>() << relationship);

This function was introduced in Qt Mobility 1.0.

void QContactRelationshipRemoveRequest::setRelationships ( const QList<QContactRelationship> & relationships )

Sets the list of relationships which will be removed to relationships

This function was introduced in Qt Mobility 1.0.

See also relationships().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.