QtMobility Reference Documentation

QContactLocalIdFilter Class Reference

The QContactLocalIdFilter class provides a filter based around a list of contact ids More...

 #include <QContactLocalIdFilter>

Inherits: QContactFilter.

This class was introduced in Qt Mobility 1.0.

Public Functions

QContactLocalIdFilter ()
QContactLocalIdFilter ( const QContactFilter & other )
void add ( const QContactLocalId & id )
void clear ()
QList<QContactLocalId> ids () const
void remove ( const QContactLocalId & id )
void setIds ( const QList<QContactLocalId> & ids )

Detailed Description

The QContactLocalIdFilter class provides a filter based around a list of contact ids

It may be used to select contacts whose ids are contained in the given list of ids.

Member Function Documentation

QContactLocalIdFilter::QContactLocalIdFilter ()

Constructs a new contact local id filter

QContactLocalIdFilter::QContactLocalIdFilter ( const QContactFilter & other )

Constructs a copy of other if possible, otherwise constructs a new contact local id filter

This function was introduced in Qt Mobility 1.0.

void QContactLocalIdFilter::add ( const QContactLocalId & id )

Adds the id id into the list which contains the ids of possible matching contacts

See also setIds().

void QContactLocalIdFilter::clear ()

Clears the list which contains the ids of possible matching contacts. A local id filter with a cleared list will match no contacts.

See also setIds().

QList<QContactLocalId> QContactLocalIdFilter::ids () const

Returns the list of ids of contacts which match this filter

This function was introduced in Qt Mobility 1.0.

See also setIds().

void QContactLocalIdFilter::remove ( const QContactLocalId & id )

Removes the id id from the list which contains the ids of possible matching contacts, if it is contained in the list, otherwise has no effect.

See also clear().

void QContactLocalIdFilter::setIds ( const QList<QContactLocalId> & ids )

Sets the list which contains the ids of possible matching contacts to ids

This function was introduced in Qt Mobility 1.0.

See also ids().

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.