The QVersitContactImporterPropertyHandler class is the legacy interface for specifying custom import behaviour for vCard properties. More...
#include <QVersitContactImporterPropertyHandler>
This class is deprecated.
This class was introduced in Qt Mobility 1.1.
virtual | ~QVersitContactImporterPropertyHandler () |
virtual bool | postProcessProperty ( const QVersitDocument & document, const QVersitProperty & property, bool alreadyProcessed, int contactIndex, QContact * contact ) = 0 |
virtual bool | preProcessProperty ( const QVersitDocument & document, const QVersitProperty & property, int contactIndex, QContact * contact ) = 0 |
The QVersitContactImporterPropertyHandler class is the legacy interface for specifying custom import behaviour for vCard properties.
This interface is replaced by QVersitContactImporterPropertyHandlerV2. For general information on extending Qt Versit, see the document on Versit Plugins.
See also QVersitContactImporter.
Frees any memory in use by this handler.
Process property and update contact with the corresponding QContactDetail(s). document provides the context within which the property was found. contactIndex specifies the position that contact will take in the list returned by QVersitContactImporter::importDocuments(). alreadyProcessed is true if the detail has already been processed either by preProcessProperty() or by QVersitContactImporter itself.
Returns true if the property has been handled, false otherwise.
This function is called on every QVersitProperty encountered during an import. This can be used to implement support for vCard properties not supported by QVersitContactImporter.
Process property and update contact with the corresponding QContactDetail(s). document provides the context within which the property was found. contactIndex specifies the position that contact will take in the list returned by QVersitContactImporter::importDocuments().
Returns true if the property has been handled and requires no further processing, false otherwise.
This function is called on every QVersitProperty encountered during an import. Supply this function and return true to implement custom import behaviour.
© 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.