Pages
API Documentation
On this page

KPluginFactory::Result Class

Additions to Qt Core. More...

  • Header: #include <Result>
  • CMake: find_package(KF6 REQUIRED COMPONENTS CoreAddons)
    target_link_libraries(mytarget PRIVATE KF6::CoreAddons)

List of all members, including inherited members

Public Functions

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 Function Documentation

[explicit] Result::operator bool() const

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

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.