akonadi
#include <itemserializerplugin.h>

Public Member Functions | |
virtual | ~ItemSerializerPluginV2 () |
virtual void | apply (Item &item, const Item &other) |
virtual QSet< QByteArray > | availableParts (const Item &item) const |
![]() | |
virtual | ~ItemSerializerPlugin () |
virtual bool | deserialize (Item &item, const QByteArray &label, QIODevice &data, int version)=0 |
virtual QSet< QByteArray > | parts (const Item &item) const |
virtual void | serialize (const Item &item, const QByteArray &label, QIODevice &data, int &version)=0 |
Detailed Description
The extended base class for item type serializer plugins.
- Since
- 4.4
Definition at line 183 of file itemserializerplugin.h.
Constructor & Destructor Documentation
|
virtual |
Destroys the item serializer plugin.
Definition at line 41 of file itemserializerplugin.cpp.
Member Function Documentation
Merges the payload parts in other
into item
.
The default implementation is slow as it requires serializing other
, and deserializing item
multiple times. Reimplementing this is recommended if your type uses payload parts.
- Since
- 4.4
Definition at line 53 of file itemserializerplugin.cpp.
|
virtual |
Returns the parts available in the item item
.
This should be reimplemented to return available parts.
The default implementation returns an empty set if the item has a payload, and a set containing Item::FullPayload if the item has no payload.
- Since
- 4.4
Definition at line 45 of file itemserializerplugin.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:50 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.