X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=inline;f=src%2Flibs%2FPlugins%2Fpluginmanager_p.h;h=31cc18c9fd712f7182b528b30e9d369783f84c91;hb=de270ece1b764b19968e14420f538321f1c06b15;hp=22a0de17258cd8e6833f19ad35dcb835c8045566;hpb=0f2257a3a58aaa329d11c9fadd06314edb924af5;p=evaf
diff --git a/src/libs/Plugins/pluginmanager_p.h b/src/libs/Plugins/pluginmanager_p.h
index 22a0de1..31cc18c 100644
--- a/src/libs/Plugins/pluginmanager_p.h
+++ b/src/libs/Plugins/pluginmanager_p.h
@@ -2,7 +2,7 @@
* @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;