Detailed Description
The QContactIdFilter 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
QContactIdFilter::QContactIdFilter()
Constructs a new contact id filter
QContactIdFilter::QContactIdFilter(const QContactFilter & other)
Constructs a copy of other if possible, otherwise constructs a new contact id filter
void QContactIdFilter::add(const QContactId & id)
Adds the id id into the list which contains the ids of possible matching contacts
See also setIds().
void QContactIdFilter::clear()
Clears the list which contains the ids of possible matching contacts. An id filter with a cleared list will match no contacts.
See also setIds().
QList<QContactId> QContactIdFilter::ids() const
Returns the list of ids of contacts which match this filter
See also setIds().
void QContactIdFilter::remove(const QContactId & 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 QContactIdFilter::setIds(const QList<QContactId> & ids)
Sets the list which contains the ids of possible matching contacts to ids
See also ids().