• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.5 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • ItemSerializerPluginV2
Public Member Functions
Akonadi::ItemSerializerPluginV2 Class Reference

#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

Constructor & Destructor Documentation

ItemSerializerPluginV2::~ItemSerializerPluginV2 ( ) [virtual]

Destroys the item serializer plugin.

Definition at line 41 of file itemserializerplugin.cpp.


Member Function Documentation

void 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

Definition at line 444 of file item.cpp.

QSet< QByteArray > 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

Definition at line 45 of file itemserializerplugin.cpp.


The documentation for this class was generated from the following files:
  • itemserializerplugin.h
  • item.cpp
  • itemserializerplugin.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:25:22 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

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

kdepimlibs-4.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal