Changeset View
Changeset View
Standalone View
Standalone View
addons/rustcompletion/kterustcompletionplugin.cpp
Show All 26 Lines | |||||
27 | #include <KSharedConfig> | 27 | #include <KSharedConfig> | ||
28 | 28 | | |||
29 | #include <QDir> | 29 | #include <QDir> | ||
30 | 30 | | |||
31 | K_PLUGIN_FACTORY_WITH_JSON(KTERustCompletionPluginFactory, "kterustcompletionplugin.json", registerPlugin<KTERustCompletionPlugin>();) | 31 | K_PLUGIN_FACTORY_WITH_JSON(KTERustCompletionPluginFactory, "kterustcompletionplugin.json", registerPlugin<KTERustCompletionPlugin>();) | ||
32 | 32 | | |||
33 | KTERustCompletionPlugin::KTERustCompletionPlugin(QObject *parent, const QList<QVariant> &) | 33 | KTERustCompletionPlugin::KTERustCompletionPlugin(QObject *parent, const QList<QVariant> &) | ||
34 | : KTextEditor::Plugin(parent), | 34 | : KTextEditor::Plugin(parent), | ||
35 | m_completion(this), | 35 | m_completion(this) | ||
36 | m_rustSrcWatch(nullptr), | | |||
37 | m_configOk(false) | | |||
38 | { | 36 | { | ||
39 | readConfig(); | 37 | readConfig(); | ||
40 | } | 38 | } | ||
41 | 39 | | |||
42 | KTERustCompletionPlugin::~KTERustCompletionPlugin() | 40 | KTERustCompletionPlugin::~KTERustCompletionPlugin() | ||
43 | { | 41 | { | ||
44 | } | 42 | } | ||
45 | 43 | | |||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |