diff -r 76a2435edfd4 -r de1630741fbe qtcontactsmobility/src/versit/qversitresourcehandler.cpp --- a/qtcontactsmobility/src/versit/qversitresourcehandler.cpp Fri Apr 16 14:53:18 2010 +0300 +++ b/qtcontactsmobility/src/versit/qversitresourcehandler.cpp Mon May 03 12:24:20 2010 +0300 @@ -53,25 +53,25 @@ \brief The QVersitResourceHandler class is an interface for clients wishing to implement custom behaviour for loading and saving files to disk when exporting and importing. \ingroup versit - + \sa QVersitContactImporter \sa QVersitContactExporter \sa QVersitDefaultResourceHandler */ /*! - * \fn virtual QVersitResourceHandler::~QVersitResourceHandler() - * Frees any memory used by the handler. + \fn virtual QVersitResourceHandler::~QVersitResourceHandler() + Frees any memory used by the handler. */ /*! - * \fn virtual bool QVersitResourceHandler::saveResource(const QByteArray& contents, const QVersitProperty& property, QString* location) = 0; - * Saves the binary data \a contents to a file on a persistent storage medium. - * - * \a property holds the QVersitProperty which is the context in which the binary is coming from. - * The QVersitResourceHandler can use this, for example, to determine file extension it should choose. - * *\a location is filled with the contents of the file. - * Returns true on success, false on failure. + \fn virtual bool QVersitResourceHandler::saveResource(const QByteArray& contents, const QVersitProperty& property, QString* location) = 0; + Saves the binary data \a contents to a file on a persistent storage medium. + + \a property holds the QVersitProperty which is the context in which the binary is coming from. + The QVersitResourceHandler can use this, for example, to determine file extension it should choose. + *\a location is filled with the contents of the file. + Returns true on success, false on failure. */ /*! @@ -83,20 +83,20 @@ */ /*! - * \class QVersitDefaultResourceHandler - * - * \brief The QVersitDefaultResourceHandler class provides a default implementation of a Versit - * resource handler. - * - * An example resource handler implementation: - * \snippet ../../doc/src/snippets/qtversitdocsample/qtversitdocsample.cpp Resource handler - * \ingroup versit - * - * \sa QVersitContactImporter, QVersitContactExporter, QVersitResourceHandler + \class QVersitDefaultResourceHandler + + \brief The QVersitDefaultResourceHandler class provides a default implementation of a Versit + resource handler. + + An example resource handler implementation: + \snippet ../../doc/src/snippets/qtversitdocsample/qtversitdocsample.cpp Resource handler + \ingroup versit + + \sa QVersitContactImporter, QVersitContactExporter, QVersitResourceHandler */ /*! - * Constructs a QVersitDefaultResourceHandler. + Constructs a QVersitDefaultResourceHandler. */ QVersitDefaultResourceHandler::QVersitDefaultResourceHandler() : d(new QVersitDefaultResourceHandlerPrivate) @@ -111,7 +111,7 @@ } /*! - * Frees any memory used by the resource handler. + Frees any memory used by the resource handler. */ QVersitDefaultResourceHandler::~QVersitDefaultResourceHandler() { @@ -119,9 +119,9 @@ } /*! - * Default resource loader. - * Loads file from given \a location into \a contents and returns true if successful. - * Sets the \a mimeType based on the file extension. + Default resource loader. + Loads file from given \a location into \a contents and returns true if successful. + Sets the \a mimeType based on the file extension. */ bool QVersitDefaultResourceHandler::loadResource(const QString& location, QByteArray* contents, @@ -140,9 +140,9 @@ } /*! - * Default resource saver. - * Does nothing and returns false, ignoring \a contents, \a property and \a location. By default, - * resources aren't persisted because we don't know when it is safe to remove them. + Default resource saver. + Does nothing and returns false, ignoring \a contents, \a property and \a location. By default, + resources aren't persisted because we don't know when it is safe to remove them. */ bool QVersitDefaultResourceHandler::saveResource(const QByteArray& contents, const QVersitProperty& property,