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.
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 ) |
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.
Constructs a new contact local id filter
Constructs a copy of other if possible, otherwise constructs a new contact local id filter
This function was introduced in Qt Mobility 1.0.
Adds the id id into the list which contains the ids of possible matching contacts
See also setIds().
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().
Returns the list of ids of contacts which match this filter
This function was introduced in Qt Mobility 1.0.
See also setIds().
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().
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().