The QContactDetailFilter class provides a filter based around a detail value criterion More...
#include <QContactDetailFilter>
Inherits: QContactFilter.
This class was introduced in Qt Mobility 1.0.
QContactDetailFilter () | |
QContactDetailFilter ( const QContactFilter & other ) | |
QString | detailDefinitionName () const |
QString | detailFieldName () const |
QContactFilter::MatchFlags | matchFlags () const |
void | setDetailDefinitionName ( const QString & definitionName, const QString & fieldName = QString() ) |
void | setMatchFlags ( QContactFilter::MatchFlags flags ) |
void | setValue ( const QVariant & value ) |
QVariant | value () const |
The QContactDetailFilter class provides a filter based around a detail value criterion
It may be used to select contacts which contain a detail of a particular definition with a particular value
Constructs a new detail filter
Constructs a copy of other if possible, otherwise constructs a new detail filter
This function was introduced in Qt Mobility 1.0.
Returns the definition name of the details which will be inspected for matching values
This function was introduced in Qt Mobility 1.0.
See also setDetailDefinitionName().
Returns the name of the field which contains the value which will be matched against the value criterion
This function was introduced in Qt Mobility 1.0.
See also setDetailDefinitionName().
Returns the semantics of the value matching criterion
This function was introduced in Qt Mobility 1.0.
See also setMatchFlags().
Sets the name of the detail definition of which details will be matched to definitionName, and the name of the field in details of that definition which will contain the value criterion to fieldName. If definitionName is empty, the detail filter will match no contacts. If fieldName is empty, the detail filter acts like a "detail exists" filter; if any detail of the specified definition is present in a contact, that contact will match the filter, regardless of what values might be stored in that detail.
This function was introduced in Qt Mobility 1.0.
See also detailDefinitionName().
Sets the semantics of the value matching criterion to those defined in flags
This function was introduced in Qt Mobility 1.0.
See also matchFlags().
Sets the value criterion of the filter to value. Note that if the field name criterion (set via setDetailDefinitionName()) of the filter is an empty string, this value will be ignored.
This function was introduced in Qt Mobility 1.0.
See also value() and setDetailDefinitionName().
Returns the value criterion of the detail filter
This function was introduced in Qt Mobility 1.0.
See also setValue().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.