diff -r 2b40d63a9c3d -r 90517678cc4f qtmobility/src/contacts/requests/qcontactrelationshipremoverequest.cpp --- a/qtmobility/src/contacts/requests/qcontactrelationshipremoverequest.cpp Fri Apr 16 15:51:22 2010 +0300 +++ b/qtmobility/src/contacts/requests/qcontactrelationshipremoverequest.cpp Mon May 03 13:18:40 2010 +0300 @@ -64,86 +64,6 @@ { } -/*! Cleans up the memory in use by this relationship remove request */ -QContactRelationshipRemoveRequest::~QContactRelationshipRemoveRequest() -{ -} - -/*! - \internal - Sets the first contact criterion of the remove request to \a firstId. - If \a firstId is the default-constructed id, or the first contact is not set, - the request will remove relationships involving any first contact. - - This function is obsolete; set the list of relationships to remove by calling setRelationships() instead. - */ -void QContactRelationshipRemoveRequest::setFirst(const QContactId& firstId) -{ - Q_D(QContactRelationshipRemoveRequest); - d->m_first = firstId; -} - -/*! - \internal - Returns the first contact criterion of the remove request. - This function is obsolete; retrieve the lists of relationships that will be removed by calling relationships() instead. - */ -QContactId QContactRelationshipRemoveRequest::first() const -{ - Q_D(const QContactRelationshipRemoveRequest); - return d->m_first; -} - -/*! - \internal - Sets the relationship type criterion of the remove request to \a relationshipType. - If \a relationshipType is empty, or the relationship type is not set, - the request will remove relationships of any type. - - This function is obsolete; set the list of relationships to remove by calling setRelationships() instead. - */ -void QContactRelationshipRemoveRequest::setRelationshipType(const QString& relationshipType) -{ - Q_D(QContactRelationshipRemoveRequest); - d->m_relationshipType = relationshipType; -} - -/*! - \internal - Returns the relationship type criterion of the fetch request. - This function is obsolete; retrieve the lists of relationships that will be removed by calling relationships() instead. - */ -QString QContactRelationshipRemoveRequest::relationshipType() const -{ - Q_D(const QContactRelationshipRemoveRequest); - return d->m_relationshipType; -} - -/*! - \internal - Sets the second contact criterion of the remove request to \a secondId. - If \a secondId is the default-constructed id, or the second contact is not set, - the request will remove relationships involving any second contact. - - This function is obsolete; set the list of relationships to remove by calling setRelationships() instead. - */ -void QContactRelationshipRemoveRequest::setSecond(const QContactId& secondId) -{ - Q_D(QContactRelationshipRemoveRequest); - d->m_second = secondId; -} - -/*! - \internal - Returns the second contact criterion of the remove request. - This function is obsolete; retrieve the lists of relationships that will be removed by calling relationships() instead. - */ -QContactId QContactRelationshipRemoveRequest::second() const -{ - Q_D(const QContactRelationshipRemoveRequest); - return d->m_second; -} - /*! Sets the list of relationships which will be removed to \a relationships */ void QContactRelationshipRemoveRequest::setRelationships(const QList& relationships) {