Home · All Classes · All Functions ·

QContactDetailFilter Class Reference

The QContactDetailFilter class provides a filter based around a detail value criterion More...

    #include <QContactDetailFilter>

Inherits QContactFilter.


Public Functions

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

Detailed Description

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


Member Function Documentation

QContactDetailFilter::QContactDetailFilter ()

Constructs a new detail filter

QContactDetailFilter::QContactDetailFilter ( const QContactFilter & other )

Constructs a copy of other if possible, otherwise constructs a new detail filter

QString QContactDetailFilter::detailDefinitionName () const

Returns the definition name of the details which will be inspected for matching values

See also setDetailDefinitionName().

QString QContactDetailFilter::detailFieldName () const

Returns the name of the field which contains the value which will be matched against the value criterion

See also setDetailDefinitionName().

QContactFilter::MatchFlags QContactDetailFilter::matchFlags () const

Returns the semantics of the value matching criterion

See also setMatchFlags().

void QContactDetailFilter::setDetailDefinitionName ( const QString & definitionName, const QString & fieldName = QString() )

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

See also detailDefinitionName().

void QContactDetailFilter::setMatchFlags ( QContactFilter::MatchFlags flags )

Sets the semantics of the value matching criterion to those defined in flags

See also matchFlags().

void QContactDetailFilter::setValue ( const QVariant & value )

Sets the value criterion of the filter to value

See also value().

QVariant QContactDetailFilter::value () const

Returns the value criterion of the detail filter

See also setValue().


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