Pages
API Documentation
On this page

KQuickConfigModuleLoader Namespace

Utilities for KDE System Settings modules. More...

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

Detailed Description

Function Documentation

KPluginFactory::Result<KQuickConfigModule> KQuickConfigModuleLoader::loadModule(const KPluginMetaData &metaData, QObject *parent = nullptr, const QVariantList &args = {}, const std::shared_ptr<QQmlEngine> &engine = {})

Loads a QML KCM from the given plugin metaData as a child of parent with the given args.

engine The QQmlEngine to use. If not set, an internal engine will be created. If your application has an existing engine, this must be passed in.

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