Changed: #1193 code cleanup.

This commit is contained in:
dnk-88 2011-02-12 18:11:23 +02:00
parent c7b860c0f6
commit a77156a92f
16 changed files with 79 additions and 76 deletions

View file

@ -27,7 +27,7 @@
namespace NLMISC namespace NLMISC
{ {
class INelContext; class INelContext;
} }
namespace ExtensionSystem namespace ExtensionSystem

View file

@ -58,7 +58,10 @@ public:
QObject *objectByName(const QString &name) const; QObject *objectByName(const QString &name) const;
ExtensionSystem::IPluginSpec *pluginByName(const QString &name) const; ExtensionSystem::IPluginSpec *pluginByName(const QString &name) const;
ExtensionSystem::IPluginManager *pluginManager() const { return _plugMan; } ExtensionSystem::IPluginManager *pluginManager() const
{
return _plugMan;
}
template <typename Type> template <typename Type>
QList<Type *> getObjects() const QList<Type *> getObjects() const