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

Kate

exporterplugin.cpp

Go to the documentation of this file.
00001 
00020 #include "exporterplugin.h"
00021 
00022 #include <kpluginloader.h>
00023 
00024 #include <ktexteditor/view.h>
00025 
00026 #include "exporterpluginview.h"
00027 
00028 K_PLUGIN_FACTORY_DEFINITION(ExporterPluginFactory,
00029         registerPlugin<ExporterPlugin>("ktexteditor_exporter");
00030         )
00031 K_EXPORT_PLUGIN(ExporterPluginFactory("ktexteditor_exporter", "ktexteditor_plugins"))
00032 
00033 ExporterPlugin::ExporterPlugin(QObject *parent, const QVariantList &args)
00034     : KTextEditor::Plugin(parent)
00035 {
00036   Q_UNUSED(args);
00037 }
00038 
00039 ExporterPlugin::~ExporterPlugin()
00040 {
00041 }
00042 
00043 void ExporterPlugin::addView(KTextEditor::View *view)
00044 {
00045   // need to keep track of, since the plugin might get disabled and we have to delete the views
00046   m_views[view] = new ExporterPluginView(view);
00047 }
00048 
00049 void ExporterPlugin::removeView(KTextEditor::View* view)
00050 {
00051   delete m_views.take(view);
00052 }
00053 
00054 #include "exporterplugin.moc"
00055 
00056 // kate: space-indent on; indent-width 2; replace-tabs on;

Kate

Skip menu "Kate"
  • Main Page
  • 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs 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