Akonadi
itemserializerplugin.cpp
virtual void apply(Item &item, const Item &other)
Merges the payload parts in other into item.
Definition itemserializerplugin.cpp:40
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 QSet< QByteArray > parts(const Item &item) const
Returns a list of available parts for the given item payload.
Definition itemserializerplugin.cpp:17
static void overridePluginLookup(QObject *plugin)
Override the plugin-lookup with plugin.
Definition itemserializerplugin.cpp:26
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 QSet< QByteArray > availableParts(const Item &item) const
Returns the parts available in the item item.
Definition itemserializerplugin.cpp:31
virtual ~ItemSerializerPlugin()
Destroys the item serializer plugin.
virtual QSet< QByteArray > allowedForeignParts(const Item &item) const
Returns the parts available in the item item that can be stored using foreign payload mechanism.
Definition itemserializerplugin.cpp:58
static const char FullPayload[]
Describes the part name that is used to fetch the full payload of an item.
Definition item.h:126
QSet< QByteArray > loadedPayloadParts() const
Returns the list of loaded payload parts.
Definition item.cpp:283
Helper integration between Akonadi and Qt.
virtual bool open(OpenMode flags) override
virtual bool seek(qint64 pos) override
void setBuffer(QByteArray *byteArray)
ReadWrite
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.