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


Definition at line 326 of file kpluginfactory.h.

Member Function Documentation

◆ operator bool()

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

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 Fri May 24 2024 11:51:51 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.