QtMobility Reference Documentation

QOrganizerItemDetailDefinitionSaveRequest Class Reference

The QOrganizerItemDetailDefinitionSaveRequest class allows a client to asynchronously request that certain detail definitions be saved in an organizer item store manager. More...

 #include <QOrganizerItemDetailDefinitionSaveRequest>

Inherits: QOrganizerAbstractRequest.

This class was introduced in Qt Mobility 1.1.

Public Functions

QOrganizerItemDetailDefinitionSaveRequest ( QObject * parent = 0 )
~QOrganizerItemDetailDefinitionSaveRequest ()
QList<QOrganizerItemDetailDefinition> definitions () const
QMap<int, QOrganizerManager::Error> errorMap () const
QString itemType () const
void setDefinition ( const QOrganizerItemDetailDefinition & definition )
void setDefinitions ( const QList<QOrganizerItemDetailDefinition> & definitions )
void setItemType ( const QString & organizeritemType )

Additional Inherited Members

Detailed Description

The QOrganizerItemDetailDefinitionSaveRequest class allows a client to asynchronously request that certain detail definitions be saved in an organizer item store manager.

For a QOrganizerItemDetailDefinitionSaveRequest, 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.

Member Function Documentation

QOrganizerItemDetailDefinitionSaveRequest::QOrganizerItemDetailDefinitionSaveRequest ( QObject * parent = 0 )

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

This function was introduced in Qt Mobility 1.1.

QOrganizerItemDetailDefinitionSaveRequest::~QOrganizerItemDetailDefinitionSaveRequest ()

Frees memory in use by this request

This function was introduced in Qt Mobility 1.2.

QList<QOrganizerItemDetailDefinition> QOrganizerItemDetailDefinitionSaveRequest::definitions () const

Returns the list of definitions that will be saved if called prior to calling start(), otherwise returns the list of detail definitions as they were saved in the organizer item store

This function was introduced in Qt Mobility 1.1.

See also setDefinitions().

QMap<int, QOrganizerManager::Error> QOrganizerItemDetailDefinitionSaveRequest::errorMap () const

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

This function was introduced in Qt Mobility 1.1.

QString QOrganizerItemDetailDefinitionSaveRequest::itemType () const

Returns the type of organizer item for which detail definitions will be saved

This function was introduced in Qt Mobility 1.1.

See also setItemType().

void QOrganizerItemDetailDefinitionSaveRequest::setDefinition ( const QOrganizerItemDetailDefinition & definition )

Sets the definition to save to be the given definition. Equivalent to calling:

 setDefinitions(QList<QOrganizerItemDetailDefinition>() << definition);

This function was introduced in Qt Mobility 1.1.

void QOrganizerItemDetailDefinitionSaveRequest::setDefinitions ( const QList<QOrganizerItemDetailDefinition> & definitions )

Sets the definitions to save to be definitions

This function was introduced in Qt Mobility 1.1.

See also definitions().

void QOrganizerItemDetailDefinitionSaveRequest::setItemType ( const QString & organizeritemType )

Sets the type of organizer item for which detail definitions should be saved to organizeritemType

This function was introduced in Qt Mobility 1.1.

See also itemType().

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.