kget
kget_export.h File Reference
#include <KPluginFactory>
#include <KPluginLoader>
#include <kdemacros.h>
Include dependency graph for kget_export.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros | |
#define | KGET_EXPORT KDE_IMPORT |
#define | KGET_EXPORT_PLUGIN(classname) |
#define | KGET_EXPORT_PLUGIN_CONFIG(classname) |
Macro Definition Documentation
#define KGET_EXPORT KDE_IMPORT |
Definition at line 24 of file kget_export.h.
#define KGET_EXPORT_PLUGIN | ( | classname | ) |
Value:
K_PLUGIN_FACTORY( KGetFactory, registerPlugin< classname >(); ) \
K_EXPORT_PLUGIN( KGetFactory("classname") )
Declares a class as plugin.
Exports a common symbol in a shared library used as an entry point for the creation of an istance of the class.
Usage example: KGET_EXPORT_PLUGIN( CoolKgetPlugin ); class CoolKgetPlugin : public KGetPlugin { .... }
Definition at line 40 of file kget_export.h.
#define KGET_EXPORT_PLUGIN_CONFIG | ( | classname | ) |
Value:
K_PLUGIN_FACTORY( KGetFactory, registerPlugin< classname >(); ) \
K_EXPORT_PLUGIN( KGetFactory( "classname" ) )
Definition at line 44 of file kget_export.h.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.