• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDECore

kexportplugin.h File Reference

#include <kglobal.h>
#include <kdeversion.h>
#include <QtCore/QPluginLoader>
#include <QtCore/QtPlugin>

Include dependency graph for kexportplugin.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

struct  KDEPluginVerificationData

Defines

#define K_EXPORT_PLUGIN(factory)
#define K_EXPORT_PLUGIN_VERSION(version)   Q_EXTERN_C KDE_EXPORT const quint32 kde_plugin_version = version;
#define K_PLUGIN_VERIFICATION_DATA

Define Documentation

#define K_EXPORT_PLUGIN ( factory   )  [related]

Value:

Q_EXPORT_PLUGIN(factory) \
K_PLUGIN_VERIFICATION_DATA
This macro exports the main object of the plugin.

Most times, this will be a KPluginFactory or derived class, but any QObject derived class can be used. Take a look at the documentation of Q_EXPORT_PLUGIN2 for some details.

Definition at line 68 of file kexportplugin.h.

#define K_EXPORT_PLUGIN_VERSION ( version   )     Q_EXTERN_C KDE_EXPORT const quint32 kde_plugin_version = version; [related]

Use this macro if you want to give your plugin a version number.

You can later access the version number with KPluginLoader::pluginVersion()

Definition at line 58 of file kexportplugin.h.

#define K_PLUGIN_VERIFICATION_DATA

Value:

Q_EXTERN_C KDE_EXPORT const KDEPluginVerificationData kde_plugin_verification_data = \
{ 1, KDE_VERSION, KDE_VERSION_STRING };

Definition at line 49 of file kexportplugin.h.

KDECore

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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