QtMobility Reference Documentation

QVersitContactExporterDetailHandler Class Reference

The QVersitContactExporterDetailHandler class is the legacy interface for clients wishing to implement custom export behaviour for certain contact details. More...

 #include <QVersitContactExporterDetailHandler>

This class is deprecated.

This class was introduced in Qt Mobility 1.1.

Public Functions

virtual ~QVersitContactExporterDetailHandler ()
virtual bool postProcessDetail ( const QContact & contact, const QContactDetail & detail, bool alreadyProcessed, QVersitDocument * document ) = 0
virtual bool preProcessDetail ( const QContact & contact, const QContactDetail & detail, QVersitDocument * document ) = 0

Detailed Description

The QVersitContactExporterDetailHandler class is the legacy interface for clients wishing to implement custom export behaviour for certain contact details.

This interface is replaced by QVersitContactExporterDetailHandlerV2. For general information on extending Qt Versit, see the document on Versit Plugins.

See also QVersitContactExporter.

Member Function Documentation

QVersitContactExporterDetailHandler::~QVersitContactExporterDetailHandler () [virtual]

Frees any memory in use by this handler.

bool QVersitContactExporterDetailHandler::postProcessDetail ( const QContact & contact, const QContactDetail & detail, bool alreadyProcessed, QVersitDocument * document ) [pure virtual]

Process detail and update document with the corresponding QVersitProperty(s). contact provides the context within which the detail was found. alreadyProcessed is true if the detail has already been processed either by preProcessDetail() or by QVersitContactExporter itself.

Returns true if the detail has been handled, false otherwise.

This function is called on every QContactDetail encountered during an export. This can be used to implement support for QContactDetails not supported by QVersitContactExporter.

bool QVersitContactExporterDetailHandler::preProcessDetail ( const QContact & contact, const QContactDetail & detail, QVersitDocument * document ) [pure virtual]

Process detail and update document with the corresponding QVersitProperty(s). contact provides the context within which the detail was found.

Returns true if the detail has been handled and requires no further processing, false otherwise.

This function is called on every QContactDetail encountered during an export. Supply this function and return true to implement custom export behaviour.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.