Changeset View
Changeset View
Standalone View
Standalone View
addons/textfilter/plugin_katetextfilter.cpp
Show All 38 Lines | |||||
39 | 39 | | |||
40 | #include <qapplication.h> | 40 | #include <qapplication.h> | ||
41 | #include <qclipboard.h> | 41 | #include <qclipboard.h> | ||
42 | 42 | | |||
43 | K_PLUGIN_FACTORY_WITH_JSON(TextFilterPluginFactory, "textfilterplugin.json", registerPlugin<PluginKateTextFilter>();) | 43 | K_PLUGIN_FACTORY_WITH_JSON(TextFilterPluginFactory, "textfilterplugin.json", registerPlugin<PluginKateTextFilter>();) | ||
44 | 44 | | |||
45 | PluginKateTextFilter::PluginKateTextFilter(QObject *parent, const QList<QVariant> &): | 45 | PluginKateTextFilter::PluginKateTextFilter(QObject *parent, const QList<QVariant> &): | ||
46 | KTextEditor::Plugin(parent) | 46 | KTextEditor::Plugin(parent) | ||
47 | , m_pFilterProcess(Q_NULLPTR) | | |||
48 | , copyResult(false) | | |||
49 | , mergeOutput(false) | | |||
50 | { | 47 | { | ||
51 | // register command | 48 | // register command | ||
52 | new PluginKateTextFilterCommand(this); | 49 | new PluginKateTextFilterCommand(this); | ||
53 | } | 50 | } | ||
54 | 51 | | |||
55 | PluginKateTextFilter::~PluginKateTextFilter() | 52 | PluginKateTextFilter::~PluginKateTextFilter() | ||
56 | { | 53 | { | ||
57 | // cleanup the process the right way (TM) | 54 | // cleanup the process the right way (TM) | ||
▲ Show 20 Lines • Show All 221 Lines • Show Last 20 Lines |