The QContactDetailDefinitionRemoveRequest class allows a client to asynchronously request that certain detail definitions be removed from a contacts store. More...
#include <QContactDetailDefinitionRemoveRequest>
Inherits: QContactAbstractRequest.
This class was introduced in Qt Mobility 1.0.
QContactDetailDefinitionRemoveRequest ( QObject * parent = 0 ) | |
~QContactDetailDefinitionRemoveRequest () | |
QString | contactType () const |
QStringList | definitionNames () const |
QMap<int, QContactManager::Error> | errorMap () const |
void | setContactType ( const QString & contactType ) |
void | setDefinitionName ( const QString & definitionName ) |
void | setDefinitionNames ( const QStringList & names ) |
The QContactDetailDefinitionRemoveRequest class allows a client to asynchronously request that certain detail definitions be removed from a contacts store.
For a QContactDetailDefinitionRemoveRequest, the resultsUpdated() signal will be emitted when the individual item errors (which may be retrieved by calling errorMap()) are updated, or 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 remove 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 removed
This function was introduced in Qt Mobility 1.0.
See also setContactType().
Returns the list of names of the detail definitions that will be removed from the manager
This function was introduced in Qt Mobility 1.0.
See also setDefinitionNames().
Returns the map of input name 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 removed to contactType
This function was introduced in Qt Mobility 1.0.
See also contactType().
Sets the name of the detail definition to remove from the manager to definitionName. Managers may store different definitions which are valid for different contact types, and so attempting to remove definitions with certain names may fail if no such definitions exist for contacts of the given contact type, specified via setContactType(). Equivalent to calling:
setDefinitionNames(QStringList(definitionName));
This function was introduced in Qt Mobility 1.0.
See also setContactType().
Sets the names of the detail definitions to remove from the manager to names. Managers may store different definitions which are valid for different contact types, and so attempting to remove definitions with certain names may fail if no such definitions exist for contacts of the given contact type, specified via setContactType().
This function was introduced in Qt Mobility 1.0.
See also definitionNames() and setContactType().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.