Kate
exporterplugin.h
Go to the documentation of this file.
00001 00020 #ifndef EXPORTERPLUGIN_H 00021 #define EXPORTERPLUGIN_H 00022 00023 #include <ktexteditor/plugin.h> 00024 00025 #include <kpluginfactory.h> 00026 00027 #include <QtCore/QVariantList> 00028 00029 namespace KTextEditor { 00030 class View; 00031 } 00032 00033 class ExporterPluginView; 00034 00035 class ExporterPlugin 00036 : public KTextEditor::Plugin 00037 { 00038 Q_OBJECT 00039 00040 public: 00041 explicit ExporterPlugin(QObject *parent = 0, const QVariantList &args = QVariantList()); 00042 virtual ~ExporterPlugin(); 00043 00044 virtual void addView (KTextEditor::View *view); 00045 virtual void removeView(KTextEditor::View* view); 00046 00047 private: 00048 QMap<KTextEditor::View*, ExporterPluginView*> m_views; 00049 }; 00050 00051 K_PLUGIN_FACTORY_DECLARATION(ExporterPluginFactory) 00052 00053 #endif // EXPORTERPLUGIN_H 00054 00055 // kate: space-indent on; indent-width 2; replace-tabs on;
KDE 4.6 API Reference