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
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
See also setDefinitions().
QMap<int, QOrganizerManager::Error> QOrganizerItemDetailDefinitionSaveRequest::errorMap () const
Returns the map of input definition list indices to errors which occurred
QString QOrganizerItemDetailDefinitionSaveRequest::itemType () const
Returns the type of organizer item for which detail definitions will be saved
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);
void QOrganizerItemDetailDefinitionSaveRequest::setDefinitions ( const QList<QOrganizerItemDetailDefinition> & definitions )
Sets the definitions to save to be definitions
See also definitions().
void QOrganizerItemDetailDefinitionSaveRequest::setItemType ( const QString & organizeritemType )
Sets the type of organizer item for which detail definitions should be saved to organizeritemType
See also itemType().