FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
|
Provides plugin filter to be used with PluginsLoader. More...
#include <qttools/core/plugins_loader.h>
Public Member Functions | |
virtual bool | accepts (QPluginLoader *loader, QString *error=NULL) const |
Keep or discard the root component of QPluginLoader loader . More... | |
Provides plugin filter to be used with PluginsLoader.
This class is considered as an inner class of PluginsLoader
|
virtual |
Keep or discard the root component of QPluginLoader loader
.
Sub-classes can require access to the root component, other can avoid loading by using QPluginLoader::metaData()
By default this functions does nothing apart checking loader
is non null.
[in,out] | loader | The plugin loader providing the root component. The root component is not loaded, the filter might load it with QPluginLoader::instance() |
[out] | error | Used to report error in case the root component is filtered out |
Reimplemented in qtcore::PluginsLoader_InstanceIFaceFilter< INTERFACE >.