Akonadi
itemserializerplugin.h
70 * void serialize( const Akonadi::Item& item, const QByteArray& label, QIODevice& data, int &version )
128 * @param version The version of the data format as set by the user in serialize() or @c 0 (default).
132 virtual bool deserialize(Item &item, const QByteArray &label, QIODevice &data, int version) = 0;
151 virtual void serialize(const Item &item, const QByteArray &label, QIODevice &data, int &version) = 0;
217Q_DECLARE_INTERFACE(Akonadi::ItemSerializerPlugin, "org.freedesktop.Akonadi.ItemSerializerPlugin/2.0")
The base class for item type serializer plugins.
Definition itemserializerplugin.h:106
virtual bool deserialize(Item &item, const QByteArray &label, QIODevice &data, int version)=0
Converts serialized item data provided in data into payload for item.
virtual void serialize(const Item &item, const QByteArray &label, QIODevice &data, int &version)=0
Convert the payload object provided in item into its serialzed form into data.
virtual ~ItemSerializerPlugin()
Destroys the item serializer plugin.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:29 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:29 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.