KPluginFactory::Result

Search for usage in LXR

KPluginFactory::Result< T > Class Template Reference

#include <kpluginfactory.h>

Public Member Functions

 operator bool () const
 

Public Attributes

ResultErrorReason errorReason = NO_PLUGIN_ERROR
 
QString errorString
 
QString errorText
 
T * plugin = nullptr
 

Detailed Description

template<typename T>
class KPluginFactory::Result< T >

Holds the result of a plugin load operation, i.e.

the loaded plugin on success or information about the error on failure

Since
5.86

Definition at line 326 of file kpluginfactory.h.

Member Function Documentation

◆ operator bool()

template<typename T >
KPluginFactory::Result< T >::operator bool ( ) const
inlineexplicit

Definition at line 335 of file kpluginfactory.h.

Member Data Documentation

◆ errorReason

template<typename T >
ResultErrorReason KPluginFactory::Result< T >::errorReason = NO_PLUGIN_ERROR

Definition at line 334 of file kpluginfactory.h.

◆ errorString

template<typename T >
QString KPluginFactory::Result< T >::errorString

translated, user-visible error string

Definition at line 331 of file kpluginfactory.h.

◆ errorText

template<typename T >
QString KPluginFactory::Result< T >::errorText

untranslated error text

Definition at line 333 of file kpluginfactory.h.

◆ plugin

template<typename T >
T* KPluginFactory::Result< T >::plugin = nullptr

Definition at line 329 of file kpluginfactory.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.