QtMobility Reference Documentation

Contents

QOrganizerItemDetailFilter Class Reference

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

 #include <QOrganizerItemDetailFilter>

Inherits QOrganizerItemFilter.

Public Functions

QOrganizerItemDetailFilter ()
QOrganizerItemDetailFilter ( const QOrganizerItemFilter & other )
QString detailDefinitionName () const
QString detailFieldName () const
QOrganizerItemFilter::MatchFlags matchFlags () const
void setDetailDefinitionName ( const QString & definitionName, const QString & fieldName = QString() )
void setMatchFlags ( QOrganizerItemFilter::MatchFlags flags )
void setValue ( const QVariant & value )
QVariant value () const

Detailed Description

The QOrganizerItemDetailFilter class provides a filter based around a detail value criterion

It may be used to select organizeritems which contain a detail of a particular definition with a particular value

Member Function Documentation

QOrganizerItemDetailFilter::QOrganizerItemDetailFilter ()

Constructs a new detail filter

QOrganizerItemDetailFilter::QOrganizerItemDetailFilter ( const QOrganizerItemFilter & other )

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

QString QOrganizerItemDetailFilter::detailDefinitionName () const

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

See also setDetailDefinitionName().

QString QOrganizerItemDetailFilter::detailFieldName () const

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

See also setDetailDefinitionName().

QOrganizerItemFilter::MatchFlags QOrganizerItemDetailFilter::matchFlags () const

Returns the semantics of the value matching criterion

See also setMatchFlags().

void QOrganizerItemDetailFilter::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 QOrganizerItemDetailFilter::setMatchFlags ( QOrganizerItemFilter::MatchFlags flags )

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

See also matchFlags().

void QOrganizerItemDetailFilter::setValue ( const QVariant & value )

Sets the value criterion of the filter to value

See also value().

QVariant QOrganizerItemDetailFilter::value () const

Returns the value criterion of the detail filter

See also setValue().