Home · All Classes · All Functions ·

QContactId Class Reference

The QContactId class provides information that uniquely identifies a contact in a particular manager. More...

    #include <QContactId>

Public Functions

QContactId ()
QContactId ( const QContactId & other )
~QContactId ()
QContactLocalId localId () const
QString managerUri () const
void setLocalId ( const QContactLocalId & id )
void setManagerUri ( const QString & uri )
bool operator!= ( const QContactId & other ) const
QContactId & operator= ( const QContactId & other )
bool operator== ( const QContactId & other ) const

Detailed Description

The QContactId class provides information that uniquely identifies a contact in a particular manager.

It consists of a manager URI which identifies the manager which contains the contact, and the local id of the contact in that manager.


Member Function Documentation

QContactId::QContactId ()

Constructs a new contact id

QContactId::QContactId ( const QContactId & other )

Constructs a new contact id as a copy of other

QContactId::~QContactId ()

Cleans up the memory in use by the contact id

QContactLocalId QContactId::localId () const

Returns the manager-local id of the contact identified by this contact id

See also setLocalId().

QString QContactId::managerUri () const

Returns the URI of the manager which contains the contact identified by this id

See also setManagerUri().

void QContactId::setLocalId ( const QContactLocalId & id )

Sets the manager-local id of the contact identified by this contact id to id

See also localId().

void QContactId::setManagerUri ( const QString & uri )

Sets the URI of the manager which contains the contact identified by this id to uri

See also managerUri().

bool QContactId::operator!= ( const QContactId & other ) const

Returns true if either the manager URI or local id of the contact id is different to that of other

QContactId & QContactId::operator= ( const QContactId & other )

Assigns the contact id to be equal to other

bool QContactId::operator== ( const QContactId & other ) const

Returns true if the contact id has the same manager URI and local id as other


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