KCMUtils
kquickconfigmodule.h
48 * To allow KCMUtils to load your ConfigModule subclass, you must create a KPluginFactory implementation.
167 * more than one will be visible at once, and the first page will be a sidebar to the last page pushed.
179 * It is guaranteed to be at least 1 (the main ui) plus how many times a new page has been pushed without pop
213 * the popped page won't be deleted, it's the caller's responsibility to manage the lifetime of the returned item
265 KQuickConfigModuleLoader::loadModule(const KPluginMetaData &metaData, QObject *parent, const QVariantList &args, const std::shared_ptr<QQmlEngine> &engine);
KPluginMetaData metaData() const
Returns the metaData that was used when instantiating the plugin.
Definition kabstractconfigmodule.cpp:140
void mainUiReady()
Emitted when the main Ui has loaded successfully and mainUi() is available.
void columnWidthChanged(int width)
Emitted when the wanted column width of the kcm changes.
KQuickConfigModule(QObject *parent, const KPluginMetaData &metaData)
Base class for all QtQuick config modules.
Definition kquickconfigmodule.cpp:61
void depthChanged(int index)
Emitted when the number of pages changed.
void pop()
pop the last page of the KCM hierarchy, the page is destroyed
Definition kquickconfigmodule.cpp:195
void setCurrentIndex(int index)
Sets the current page index this kcm should display.
Definition kquickconfigmodule.cpp:234
void currentIndexChanged(int index)
Emitted when the current page changed.
void pagePushed(QQuickItem *page)
Emitted when a new sub page is pushed.
QString errorString() const
The error string in case the mainUi failed to load.
Definition kquickconfigmodule.cpp:255
std::shared_ptr< QQmlEngine > engine() const
Definition kquickconfigmodule.cpp:250
void push(const QString &fileName, const QVariantMap &initialProperties=QVariantMap())
Push a new sub page in the KCM hierarchy: pages will be seen as a Kirigami PageRow.
Definition kquickconfigmodule.cpp:155
QQuickItem * takeLast()
remove and return the last page of the KCM hierarchy: the popped page won't be deleted,...
Definition kquickconfigmodule.cpp:202
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:31 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:31 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.