• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

  • sources
  • kde-4.12
  • kdesdk
  • umbrello
  • umbrello
  • _unused
Classes | Namespaces | Macros
plugin.h File Reference
#include <qobject.h>
#include <kgenericfactory.h>
#include "configurable.h"
Include dependency graph for plugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Umbrello::Plugin
 

Namespaces

 Umbrello
 

Macros

#define UMBRELLO_EXPORT_PLUGIN_FACTORY(libname, factory)   extern "C" { KDE_EXPORT void *init_##libname() { return new factory(#libname); } }
 

Macro Definition Documentation

#define UMBRELLO_EXPORT_PLUGIN_FACTORY (   libname,
  factory 
)    extern "C" { KDE_EXPORT void *init_##libname() { return new factory(#libname); } }

This macro replaces the K_EXPORT_COMPONENT_FACTORY macro because of a simple defficiency for this application - the construction of the factory with a default instance name.

This macro must be used in the .cpp file implementing the plugin.

Parameters
libnameThe name of the plugin. This corresponds to the name of the shared object without the ".so" extension.
factoryThe type of factory. Typically, this will be KGenericFactory<> with the name of the plugin as the parameter.

Definition at line 49 of file plugin.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



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