• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

  • Akonadi
  • Akonadi::ItemSerializerPluginV2
Public Member Functions

Akonadi::ItemSerializerPluginV2 Class Reference

The extended base class for item type serializer plugins. More...

#include <itemserializerplugin.h>

Inheritance diagram for Akonadi::ItemSerializerPluginV2:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~ItemSerializerPluginV2 ()
virtual void apply (Item &item, const Item &other)
virtual QSet< QByteArray > availableParts (const Item &item) const

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 Akonadi::ItemSerializerPluginV2::~ItemSerializerPluginV2 (  )  [virtual]

Destroys the item serializer plugin.


Member Function Documentation

virtual void Akonadi::ItemSerializerPluginV2::apply ( Item &  item,
const Item &  other 
) [virtual]

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
virtual QSet<QByteArray> Akonadi::ItemSerializerPluginV2::availableParts ( const Item &  item  )  const [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

The documentation for this class was generated from the following file:
  • itemserializerplugin.h

akonadi

Skip menu "akonadi"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal