• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

akonadi

typepluginloader_p.h

00001 /*
00002     Copyright (c) 2007 Till Adam <adam@kde.org>
00003     Copyright (c) 2007 Volker Krause <vkrause@kde.org>
00004 
00005     This library is free software; you can redistribute it and/or modify it
00006     under the terms of the GNU Library General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or (at your
00008     option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful, but WITHOUT
00011     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013     License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to the
00017     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018     02110-1301, USA.
00019 */
00020 
00021 #ifndef AKONADI_TYPEPLUGINLOADER_P_H
00022 #define AKONADI_TYPEPLUGINLOADER_P_H
00023 
00024 #include <QtCore/qglobal.h>
00025 
00026 class QObject;
00027 class QString;
00028 template <typename T>
00029 class QVector;
00030 
00031 namespace Akonadi {
00032 class ItemSerializerPlugin;
00033 
00046 namespace TypePluginLoader {
00047 
00048 enum Option {
00049     NoOptions,
00050     NoDefault = 1,
00051 
00052     _LastOption,
00053     OptionMask = 2*_LastOption-1
00054 };
00055 Q_DECLARE_FLAGS( Options, Option )
00056 
00057 
00058 #if 0
00059 
00062 ItemSerializerPlugin* legacyPluginForMimeType( const QString &mimetype );
00063 #endif
00064 
00068 ItemSerializerPlugin* defaultPluginForMimeType( const QString &mimetype );
00069 
00074 ItemSerializerPlugin* pluginForMimeTypeAndClass( const QString &mimetype, const QVector<int> &metaTypeIds, Options options=NoOptions );
00075 
00076 #if 0
00077 
00080 QObject* legacyObjectForMimeType( const QString &mimetype );
00081 #endif
00082 
00086 QObject* defaultObjectForMimeType( const QString &mimetype );
00087 
00092 QObject* objectForMimeTypeAndClass( const QString &mimetype, const QVector<int> &metaTypeIds, Options options=NoOptions );
00093 
00094 }
00095 
00096 }
00097 
00098 Q_DECLARE_OPERATORS_FOR_FLAGS( Akonadi::TypePluginLoader::Options )
00099 
00100 #endif

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
  • 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
Generated for KDE-PIM Libraries by doxygen 1.7.3
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