Changeset View
Changeset View
Standalone View
Standalone View
shell/plugincontroller.h
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Line(s) | 52 | public: | |||
---|---|---|---|---|---|
132 | QStringList projectPlugins(); | 132 | QStringList projectPlugins(); | ||
133 | 133 | | |||
134 | void loadProjectPlugins(); | 134 | void loadProjectPlugins(); | ||
135 | void unloadProjectPlugins(); | 135 | void unloadProjectPlugins(); | ||
136 | 136 | | |||
137 | void resetToDefaults(); | 137 | void resetToDefaults(); | ||
138 | bool isEnabled(const KPluginMetaData& info) const; | 138 | bool isEnabled(const KPluginMetaData& info) const; | ||
139 | 139 | | |||
140 | /* list of failed plugins with error messages */ | ||||
141 | QList<QPair<QString, QString>> failedPlugins() const; | ||||
brauch: QVector and put the QPair into a struct instead | |||||
140 | private: | 142 | private: | ||
141 | /** | 143 | /** | ||
142 | * Directly unload the given \a plugin, either deleting it now or \a deletion. | 144 | * Directly unload the given \a plugin, either deleting it now or \a deletion. | ||
143 | * | 145 | * | ||
144 | * \param plugin plugin to unload | 146 | * \param plugin plugin to unload | ||
145 | * \param deletion if true, delete the plugin later, if false, delete it now. | 147 | * \param deletion if true, delete the plugin later, if false, delete it now. | ||
146 | */ | 148 | */ | ||
147 | bool unloadPlugin(IPlugin* plugin, PluginDeletion deletion); | 149 | bool unloadPlugin(IPlugin* plugin, PluginDeletion deletion); | ||
Show All 38 Lines |
QVector and put the QPair into a struct instead