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.
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 ) |
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.
Constructs a new detail definition save request whose parent is the specified parent
This function was introduced in Qt Mobility 1.1.
Frees memory in use by this request
This function was introduced in Qt Mobility 1.2.
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().
Returns the map of input definition list indices to errors which occurred
This function was introduced in Qt Mobility 1.1.
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().
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.
Sets the definitions to save to be definitions
This function was introduced in Qt Mobility 1.1.
See also definitions().
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().