MCPcopy Create free account
hub / github.com/KDE/kdevelop / BazaarPlugin

Method BazaarPlugin

plugins/bazaar/bazaarplugin.cpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29using namespace KDevelop;
30
31BazaarPlugin::BazaarPlugin(QObject* parent, const KPluginMetaData& metaData, const QVariantList& args)
32 : IPlugin(QStringLiteral("kdevbazaar"), parent, metaData)
33 , m_vcsPluginHelper(new KDevelop::VcsPluginHelper(this, this))
34{
35 Q_UNUSED(args); // What is this?
36 if (QStandardPaths::findExecutable(QStringLiteral("bzr")).isEmpty()) {
37 setErrorDescription(i18n("Unable to find Bazaar (bzr) executable. Is it installed on the system?"));
38 return;
39 }
40
41 setObjectName(QStringLiteral("Bazaar"));
42}
43
44BazaarPlugin::~BazaarPlugin()
45{

Callers

nothing calls this directly

Calls 2

findExecutableFunction · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected