The QContactDetailDefinitionSaveRequest class allows a client to asynchronously request that certain detail definitions be saved in a contacts store. More...
#include <QContactDetailDefinitionSaveRequest>
Inherits: QContactAbstractRequest.
This class was introduced in Qt Mobility 1.0.
QContactDetailDefinitionSaveRequest ( QObject * parent = 0 ) | |
~QContactDetailDefinitionSaveRequest () | |
QString | contactType () const |
QList<QContactDetailDefinition> | definitions () const |
QMap<int, QContactManager::Error> | errorMap () const |
void | setContactType ( const QString & contactType ) |
void | setDefinition ( const QContactDetailDefinition & definition ) |
void | setDefinitions ( const QList<QContactDetailDefinition> & definitions ) |
The QContactDetailDefinitionSaveRequest class allows a client to asynchronously request that certain detail definitions be saved in a contacts store.
For a QContactDetailDefinitionSaveRequest, 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.
Constructs a new detail definition save request whose parent is the specified parent
Frees any memory used by this request
Returns the type of contact for which detail definitions will be saved
This function was introduced in Qt Mobility 1.0.
See also setContactType().
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 contacts store
This function was introduced in Qt Mobility 1.0.
See also setDefinitions().
Returns the map of input definition list indices to errors which occurred
This function was introduced in Qt Mobility 1.0.
Sets the type of contact for which detail definitions should be saved to contactType
This function was introduced in Qt Mobility 1.0.
See also contactType().
Sets the definition to save to be the given definition. Equivalent to calling:
setDefinitions(QList<QContactDetailDefinition>() << definition);
This function was introduced in Qt Mobility 1.0.
Sets the definitions to save to be definitions
This function was introduced in Qt Mobility 1.0.
See also definitions().