Home · All Classes · All Functions ·

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.


Public Functions

QContactRelationshipRemoveRequest ()
~QContactRelationshipRemoveRequest ()
QContactId first () const
QString relationshipType () const
QContactId second () const
void setFirst ( const QContactId & firstId )
void setRelationshipType ( const QString & relationshipType )
void setSecond ( const QContactId & secondId )

Signals

void progress ( QContactRelationshipRemoveRequest * self )

Additional Inherited Members


Detailed Description

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


Member Function Documentation

QContactRelationshipRemoveRequest::QContactRelationshipRemoveRequest ()

Constructs a new relationship remove request

QContactRelationshipRemoveRequest::~QContactRelationshipRemoveRequest ()

Cleans up the memory in use by this relationship remove request

QContactId QContactRelationshipRemoveRequest::first () const

Returns the first contact criterion of the remove request

See also setFirst().

void QContactRelationshipRemoveRequest::progress ( QContactRelationshipRemoveRequest * self )   [signal]

This signal is emitted when some progress has been made on the request, causing either a change of status or an update of results, or both. It identifies which request the signal originated from by including a pointer to self.

QString QContactRelationshipRemoveRequest::relationshipType () const

Returns the relationship type criterion of the fetch request

See also setRelationshipType().

QContactId QContactRelationshipRemoveRequest::second () const

Returns the second contact criterion of the remove request

See also setSecond().

void QContactRelationshipRemoveRequest::setFirst ( const QContactId & firstId )

Sets the first contact criterion of the remove request to firstId. If firstId is the default-constructed id, or the first contact is not set, the request will remove relationships involving any first contact.

See also first().

void QContactRelationshipRemoveRequest::setRelationshipType ( const QString & relationshipType )

Sets the relationship type criterion of the remove request to relationshipType. If relationshipType is empty, or the relationship type is not set, the request will remove relationships of any type.

See also relationshipType().

void QContactRelationshipRemoveRequest::setSecond ( const QContactId & secondId )

Sets the second contact criterion of the remove request to secondId. If secondId is the default-constructed id, or the second contact is not set, the request will remove relationships involving any second contact.

See also second().


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