Libplasma
10#ifndef COREBINDINGSPLUGIN_H
11#define COREBINDINGSPLUGIN_H
14#include <QQmlExtensionPlugin>
15#include <QQmlPropertyMap>
17#include <Plasma/Plasma>
20#include "appletpopup.h"
21#include "containment.h"
27 QML_NAMED_ELEMENT(Types)
29 QML_FOREIGN(Plasma::Types)
32struct PropertyMapForeign {
35 QML_FOREIGN(QQmlPropertyMap)
38struct PlasmaWindowForeign {
40 QML_NAMED_ELEMENT(Window)
41 QML_FOREIGN(PlasmaQuick::PlasmaWindow)
44struct AppletPopupForeign {
46 QML_NAMED_ELEMENT(AppletPopup)
47 QML_FOREIGN(PlasmaQuick::AppletPopup)
50struct PopupPlasmaWindowForeign {
52 QML_NAMED_ELEMENT(PopupPlasmaWindow)
53 QML_FOREIGN(PlasmaQuick::PopupPlasmaWindow)
58 QML_NAMED_ELEMENT(Dialog)
59 QML_FOREIGN(PlasmaQuick::Dialog)
62struct ContainmentForeign {
64 QML_NAMED_ELEMENT(Containment)
66 QML_FOREIGN(Plasma::Containment)
72 QML_FOREIGN(Plasma::Corona)
77 QML_NAMED_ELEMENT(Applet)
79 QML_FOREIGN(Plasma::Applet)
82class CoreBindingsPlugin : public QQmlExtensionPlugin
85 Q_PLUGIN_METADATA(IID
"org.qt-project.Qt.QQmlExtensionInterface")
88 void initializeEngine(QQmlEngine *engine,
const char *uri)
override;
89 void registerTypes(
const char *uri)
override;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:55:47 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.