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

akonadi

  • Akonadi
  • TypePluginLoader
Functions

Akonadi::TypePluginLoader Namespace Reference

Functions

QObject * objectForMimeType (const QString &mimetype)
ItemSerializerPlugin * pluginForMimeType (const QString &mimetype)

Detailed Description

For internal use only.

With KDE 4.6 we are on the way to change the ItemSerializer plugins into general TypePlugins which provide several type specific actions, namely:

  • Serializing/Deserializing of payload
  • Comparing two payloads and reporting the differences

To share the code of loading the plugins and finding the right plugin for a given mime type the old code from ItemSerializer has been extracted into the pluginForMimeType() method inside the TypePluginLoader namespace.


Function Documentation

QObject * Akonadi::TypePluginLoader::objectForMimeType ( const QString &  mimetype  ) 

Returns the type plugin object that matches the given mimetype.

Definition at line 187 of file typepluginloader.cpp.

ItemSerializerPlugin * Akonadi::TypePluginLoader::pluginForMimeType ( const QString &  mimetype  ) 

Returns the item serializer plugin that matches the given mimetype.

Definition at line 213 of file typepluginloader.cpp.

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