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 454 of file kpluginfactory.h.

Member Data Documentation

◆ errorString

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

translated, user-visible error string

Definition at line 459 of file kpluginfactory.h.

◆ errorText

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

untranslated error text

Definition at line 461 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-2023 The KDE developers.
Generated on Thu Dec 7 2023 04:06:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.