File indexing completed on 2025-01-05 04:49:27

0001 %
0002 {
0003 Cpp:
0004     LicenseTemplate
0005 }
0006 
0007 #include "%{ProjectNameLower}plugineditor.h"
0008 #include "%{ProjectNameLower}plugineditorinterface.h"
0009 #include <KPluginFactory>
0010 
0011 K_PLUGIN_CLASS_WITH_JSON(% {CN} PluginEditor, "%{ProjectNameLower}editorplugin.json")
0012 
0013     % {CN} PluginEditor::
0014         % {CN} PluginEditor(QObject *parent, const QList<QVariant> &)
0015     : MessageComposer::PluginEditorConvertText(parent){}
0016 
0017     % {CN} PluginEditor::~ % {CN} PluginEditor()
0018 {
0019 }
0020 
0021 MessageComposer::PluginEditorConvertTextInterface * % {CN} PluginEditor::createInterface(KActionCollection *ac, QObject *parent)
0022 {
0023     % {CN} PluginEditorInterface *interface = new % {CN} PluginEditorInterface(parent);
0024     interface->createAction(ac);
0025     return interface;
0026 }
0027 
0028 #include "%{ProjectNameLower}plugineditor.moc"
0029 
0030 #include "moc_plugineditor.cpp"