diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-09-29 22:47:38 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-09-29 22:47:38 +0200 |
| commit | 4b1a89648fffea98b447e4289dbc559d717d0b52 (patch) | |
| tree | fdd1801b88fd03453d799a2dc7a6f82226087309 /src/plugincontainer.h | |
| parent | e9be288f7ce6ed7861a5ed381e2e16ae730524ad (diff) | |
Display plugins in a tree instead of a list in the settings dialog.
Diffstat (limited to 'src/plugincontainer.h')
| -rw-r--r-- | src/plugincontainer.h | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/src/plugincontainer.h b/src/plugincontainer.h index 8672606b..07363ee7 100644 --- a/src/plugincontainer.h +++ b/src/plugincontainer.h @@ -72,26 +72,13 @@ private: public:
/**
- * @brief Retrieved the (localized) names of interfaces implemented by the given
- * plugin.
+ * @brief Retrieved the (localized) names of the various plugin interfaces.
*
- * @param plugin The plugin to retrieve interface for.
- *
- * @return the (localized) names of interfaces implemented by this plugin.
+ * @return the (localized) names of the various plugin interfaces.
*/
- QStringList implementedInterfaces(MOBase::IPlugin *plugin) const;
+ static QStringList pluginInterfaces();
- /**
- * @brief Return the (localized) name of the most important interface implemented by
- * the given plugin.
- *
- * The order of interfaces is defined in X.
- *
- * @param plugin The plugin to retrieve the interface for.
- *
- * @return the (localized) name of the most important interface implemented by this plugin.
- */
- QString topImplementedInterface(MOBase::IPlugin* plugin) const;
+public:
PluginContainer(OrganizerCore *organizer);
virtual ~PluginContainer();
@@ -126,6 +113,28 @@ public: }
/**
+ * @brief Retrieved the (localized) names of interfaces implemented by the given
+ * plugin.
+ *
+ * @param plugin The plugin to retrieve interface for.
+ *
+ * @return the (localized) names of interfaces implemented by this plugin.
+ */
+ QStringList implementedInterfaces(MOBase::IPlugin* plugin) const;
+
+ /**
+ * @brief Return the (localized) name of the most important interface implemented by
+ * the given plugin.
+ *
+ * The order of interfaces is defined in X.
+ *
+ * @param plugin The plugin to retrieve the interface for.
+ *
+ * @return the (localized) name of the most important interface implemented by this plugin.
+ */
+ QString topImplementedInterface(MOBase::IPlugin* plugin) const;
+
+ /**
* @return the preview generator.
*/
const PreviewGenerator &previewGenerator() const;
|
