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

kapptemplate

  • sources
  • kde-4.14
  • kdesdk
  • kapptemplate
  • templates
  • C++
  • kofficetext
kofficetext/%{APPNAME}Plugin.cpp
Go to the documentation of this file.
1 #include "%{APPNAME}Plugin.h"
2 #include "%{APPNAME}Factory.h"
3 
4 #include <KPluginFactory>
5 #include <KPluginLoader>
6 
7 #include <KoTextEditingRegistry.h>
8 
9 K_PLUGIN_FACTORY( %{APPNAME}PluginFactory, registerPlugin<%{APPNAME}Plugin>(); )
10 K_EXPORT_PLUGIN( %{APPNAME}PluginFactory("%{APPNAME}Plugin") )
11 
12 %{APPNAME}Plugin::%{APPNAME}Plugin( QObject *parent, const QVariantList& )
13  : QObject(parent)
14 {
15  KoTextEditingRegistry::instance()->add( new %{APPNAME}Factory(parent));
16 }
17 
18 #include "%{APPNAME}Plugin.moc"
%{APPNAME}Factory.h
QObject
Plugin
class @0 Plugin(QObject *parent, const QVariantList &args)
%{APPNAME}Plugin.h
APPNAME
main APPNAME
Factory
class SettingsHelper Factory
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kapptemplate

Skip menu "kapptemplate"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • 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