X-Git-Url: https://vaikene.ee/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Flibs%2FPlugins%2Fpluginmanager_p.h;h=31cc18c9fd712f7182b528b30e9d369783f84c91;hb=HEAD;hp=1fbdad056648d9210d570eaec35252b2dc991fe6;hpb=f26e65c1e66cf02eae9aa209acac743e3b04b4f4;p=evaf diff --git a/src/libs/Plugins/pluginmanager_p.h b/src/libs/Plugins/pluginmanager_p.h index 1fbdad0..31cc18c 100644 --- a/src/libs/Plugins/pluginmanager_p.h +++ b/src/libs/Plugins/pluginmanager_p.h @@ -1,8 +1,8 @@ /** - * @file plugins/pluginmanager_p.h + * @file Plugins/pluginmanager_p.h * @brief Private implementation of the plugin manager * - * Copyright (c) 2011 Enar Vaikene + * Copyright (c) 2011-2019 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * @@ -22,6 +22,7 @@ #include #include #include +#include #include namespace eVaf { @@ -91,13 +92,6 @@ private: // Methods */ Module * moduleByName(QString const & name) const; - /** - * Loads the Qt plugin - * @param Name of the Qt plugin - * @return True; false if failed - */ - bool loadQtPlugin(QString const & name) const; - }; /** @@ -147,7 +141,7 @@ private: // Members QString mName; /// Plugin loader - QPluginLoader * mLoader; + QScopedPointer mLoader; /// Plugin's root component QObject * mRoot;