| 29 | using namespace KDevelop; |
| 30 | |
| 31 | BazaarPlugin::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 | |
| 44 | BazaarPlugin::~BazaarPlugin() |
| 45 | { |
nothing calls this directly
no test coverage detected