Home · All Classes · All Functions ·

QContactActionFilter Class Reference

The QContactActionFilter class provides a filter based around an action availability criterion. More...

    #include <QContactActionFilter>

Inherits QContactFilter.


Public Functions

QContactActionFilter ()
QContactActionFilter ( const QContactFilter & other )
QString actionName () const
int implementationVersion () const
void setActionName ( const QString & action )
void setValue ( const QVariant & value )
void setVendor ( const QString & vendorName, int implementationVersion = -1 )
QVariant value () const
QString vendorName () const

Detailed Description

The QContactActionFilter class provides a filter based around an action availability criterion.

It may be used to select contacts for which a particular action is available, or contacts which contain a detail of a particular value for which the action is available.


Member Function Documentation

QContactActionFilter::QContactActionFilter ()

Constructs a new action filter

QContactActionFilter::QContactActionFilter ( const QContactFilter & other )

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

QString QContactActionFilter::actionName () const

Returns the action name criterion of the filter

See also setActionName().

int QContactActionFilter::implementationVersion () const

Returns the vendor-specified action implementation version criterion of the filter

See also setVendor().

void QContactActionFilter::setActionName ( const QString & action )

Sets the name of the action whose availability is required to action

See also actionName().

void QContactActionFilter::setValue ( const QVariant & value )

Sets the value criterion of the detail for which the action must be available to value

See also value().

void QContactActionFilter::setVendor ( const QString & vendorName, int implementationVersion = -1 )

Sets the vendor details criterion of the action whose availability is required to the given vendorName and implementationVersion

See also vendorName() and implementationVersion().

QVariant QContactActionFilter::value () const

Returns the value criterion of the filter

See also setValue().

QString QContactActionFilter::vendorName () const

Returns the vendor name criterion of the filter

See also setVendor().


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