QtMobility Reference Documentation

QContactDetailDefinitionFetchRequest Class Reference

The QContactDetailDefinitionFetchRequest class allows a client to asynchronously request detail definitions from a contacts store manager. More...

 #include <QContactDetailDefinitionFetchRequest>

Inherits: QContactAbstractRequest.

This class was introduced in Qt Mobility 1.0.

Public Functions

QContactDetailDefinitionFetchRequest ( QObject * parent = 0 )
~QContactDetailDefinitionFetchRequest ()
QString contactType () const
QStringList definitionNames () const
QMap<QString, QContactDetailDefinition> definitions () const
QMap<int, QContactManager::Error> errorMap () const
void setContactType ( const QString & contactType )
void setDefinitionName ( const QString & definitionName )
void setDefinitionNames ( const QStringList & names )

Additional Inherited Members

Detailed Description

The QContactDetailDefinitionFetchRequest class allows a client to asynchronously request detail definitions from a contacts store manager.

For a QContactDetailDefinitionFetchRequest, the resultsAvailable() signal will be emitted when either the individual item errors (which may be retrieved by calling errorMap()), or the resultant detail definitions (which may be retrieved by calling definitions()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.

Please see the class documentation of QContactAbstractRequest for more information about the usage of request classes and ownership semantics.

Member Function Documentation

QContactDetailDefinitionFetchRequest::QContactDetailDefinitionFetchRequest ( QObject * parent = 0 )

Constructs a new detail definition fetch request whose parent is the specified parent

QContactDetailDefinitionFetchRequest::~QContactDetailDefinitionFetchRequest ()

Frees any memory used by this request

QString QContactDetailDefinitionFetchRequest::contactType () const

Returns the type of contact for which detail definitions will be retrieved

This function was introduced in Qt Mobility 1.0.

See also setContactType().

QStringList QContactDetailDefinitionFetchRequest::definitionNames () const

Returns the list of names of the detail definitions that will be retrieved

This function was introduced in Qt Mobility 1.0.

See also setDefinitionNames().

QMap<QString, QContactDetailDefinition> QContactDetailDefinitionFetchRequest::definitions () const

Returns the map of detail definition names to detail definitions that was the result of the request

This function was introduced in Qt Mobility 1.0.

QMap<int, QContactManager::Error> QContactDetailDefinitionFetchRequest::errorMap () const

Returns the map of input name list indices to errors which occurred

This function was introduced in Qt Mobility 1.0.

void QContactDetailDefinitionFetchRequest::setContactType ( const QString & contactType )

Sets the type of contact for which detail definitions should be retrieved to contactType

This function was introduced in Qt Mobility 1.0.

See also contactType().

void QContactDetailDefinitionFetchRequest::setDefinitionName ( const QString & definitionName )

Sets the name of the detail definition to retrieve to definitionName. Equivalent to calling

 setDefinitionNames(QList<QContactDetailDefinition>() << definitionName);

This function was introduced in Qt Mobility 1.0.

void QContactDetailDefinitionFetchRequest::setDefinitionNames ( const QStringList & names )

Sets the names of the detail definitions to retrieve to names

This function was introduced in Qt Mobility 1.0.

See also definitionNames().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.