Home · All Classes · All Functions ·

QContactActionDescriptor Class Reference

The QContactActionDescriptor class provides information that uniquely identifies a specific implementation of an action More...

    #include <QContactActionDescriptor>

Public Functions

QContactActionDescriptor ( const QString & actionName = QString(), const QString & vendorName = QString(), int vendorVersion = -1 )
QContactActionDescriptor ( const QContactActionDescriptor & other )
~QContactActionDescriptor ()
QString actionName () const
int implementationVersion () const
bool isEmpty () const
void setActionName ( const QString & actionName )
void setImplementationVersion ( int implementationVersion )
void setVendorName ( const QString & vendorName )
QString vendorName () const
bool operator!= ( const QContactActionDescriptor & other ) const
QContactActionDescriptor & operator= ( const QContactActionDescriptor & other )
bool operator== ( const QContactActionDescriptor & other ) const

Detailed Description

The QContactActionDescriptor class provides information that uniquely identifies a specific implementation of an action


Member Function Documentation

QContactActionDescriptor::QContactActionDescriptor ( const QString & actionName = QString(), const QString & vendorName = QString(), int vendorVersion = -1 )

Constructs a new action descriptor for the implementation of the action identified by the given actionName of the given implementation vendorVersion, as implemented by the vendor identified by the given vendorName

QContactActionDescriptor::QContactActionDescriptor ( const QContactActionDescriptor & other )

Constructs a copy of the other action descriptor

QContactActionDescriptor::~QContactActionDescriptor ()

Cleans up any memory in use by the action descriptor

QString QContactActionDescriptor::actionName () const

Returns the name of the action which is identified by the action descriptor

See also setActionName().

int QContactActionDescriptor::implementationVersion () const

Returns the vendor-specified version of the action implementation which is identified by the action descriptor

See also setImplementationVersion().

bool QContactActionDescriptor::isEmpty () const

Returns true if either the name, vendor and version of the descriptor are missing from the descriptor. An empty descriptor cannot uniquely identify an action.

void QContactActionDescriptor::setActionName ( const QString & actionName )

Sets the name of the action identified by this action descriptor to actionName

See also actionName().

void QContactActionDescriptor::setImplementationVersion ( int implementationVersion )

Sets the vendor-specified implementation version of the action implementation identified by this action descriptor to implementationVersion

See also implementationVersion().

void QContactActionDescriptor::setVendorName ( const QString & vendorName )

Sets the name of the vendor of the action implementation identified by this action descriptor to vendorName

See also vendorName().

QString QContactActionDescriptor::vendorName () const

Returns the name of the vendor of the action implementation which is identified by the action descriptor

See also setVendorName().

bool QContactActionDescriptor::operator!= ( const QContactActionDescriptor & other ) const

Returns true if the action name, vendor name or vendor-specified implementation version specified by this action descriptor are different to that specified by other

QContactActionDescriptor & QContactActionDescriptor::operator= ( const QContactActionDescriptor & other )

Assigns this action descriptor to be equal to other

bool QContactActionDescriptor::operator== ( const QContactActionDescriptor & other ) const

Returns true if the action name, vendor name and vendor-specified implementation version specified by this action descriptor are equal to those specified by other


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