KPluginFactory::Result Class
template <typename T> class KPluginFactory::ResultThis class was introduced in 5.86.
Public Variables
KPluginFactory::ResultErrorReason | errorReason |
QString | errorString |
QString | errorText |
T * | plugin |
Detailed Description
Holds the result of a plugin load operation, i.e. the loaded plugin on success or information about the error on failure
Member Variable Documentation
KPluginFactory::ResultErrorReason Result::errorReason
This variable holds the error reason
QString Result::errorString
This variable holds the translated, user-visible error string
QString Result::errorText
This variable holds the untranslated error text
T *Result::plugin
This variable holds the loaded object, or nullptr
if loading fails