Kirigami::Platform::PlatformPluginFactory
#include <Kirigami/PlatformPluginFactory>
Additional Inherited Members | |
Properties inherited from QObject | |
objectName | |
Public Attributes inherited from QObject | |
typedef | QObjectList |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
This class is reimpleented by plugins to provide different implementations of PlatformTheme.
Definition at line 29 of file platformpluginfactory.h.
Constructor & Destructor Documentation
◆ PlatformPluginFactory()
|
explicit |
Definition at line 22 of file platformpluginfactory.cpp.
Member Function Documentation
◆ createPlatformTheme()
|
pure virtual |
Creates an instance of PlatformTheme which can come out from an implementation provided by a plugin.
If this returns nullptr the PlatformTheme will use a fallback implementation that loads a theme definition from a QML file.
- Parameters
-
parent the parent object of the created PlatformTheme
◆ createUnits()
|
pure virtual |
Creates an instance of Units which can come from an implementation provided by a plugin.
- Parameters
-
parent the parent of the units object
◆ findPlugin()
|
static |
finds the plugin providing units and platformtheme for the current style The plugin pointer is cached, so only the first call is a potentially heavy operation
- Parameters
-
pluginName The name we want to search for, if empty the name of the current QtQuickControls style will be searched
- Returns
- pointer to the PlatformPluginFactory of the current style
Definition at line 29 of file platformpluginfactory.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:49:07 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.