KCoreAddons
KPluginFactory::InheritanceWithMetaDataChecker< impl > Struct Template Reference
#include <kpluginfactory.h>
Public Member Functions | |
CreateInstanceWithMetaDataFunction | createInstanceFunction (...) |
CreateInstanceWithMetaDataFunction | createInstanceFunction (KParts::Part *) |
CreateInstanceWithMetaDataFunction | createInstanceFunction (QWidget *) |
Static Public Attributes | |
static constexpr bool | enabled |
Detailed Description
template<class impl>
struct KPluginFactory::InheritanceWithMetaDataChecker< impl >
This is used to detect the arguments need for the constructor of metadata-taking plugin classes.
You can inherit it, if you want to add new classes and still keep support for the old ones.
Definition at line 672 of file kpluginfactory.h.
Member Data Documentation
◆ enabled
template<class impl >
|
staticconstexpr |
Initial value:
= std::is_constructible<impl, QWidget *, QObject *, const KPluginMetaData &, const QVariantList &>::value
|| std::is_constructible<impl, QWidget *, const KPluginMetaData &, const QVariantList &>::value
|| std::is_constructible<impl, QObject *, const KPluginMetaData &, const QVariantList &>::value
property to control the availability of the registerPlugin overload taking default values
Definition at line 674 of file kpluginfactory.h.
The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Dec 6 2023 04:03:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Dec 6 2023 04:03:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.