MauiKit Controls
23 , m_interface(interface)
37 void append(Interface *interface);
38 bool contains(
const QString &
id);
53 void append(Plugin *plugin);
56 FMH::MODEL_LIST m_plugins;
60class PluginInterface : public
QObject
63 Q_PROPERTY(
int orientation READ orientation WRITE setOrientation NOTIFY orientationChanged)
64 Q_PROPERTY(
int type READ type WRITE setType NOTIFY typeChanged)
68 static PluginInterface *qmlAttachedProperties(
QObject *
object)
70 return new PluginInterface(
object);
72 void setOrientation(
const uint &value);
73 uint orintation()
const
78 void setType(
const uint &value);
98 void orientationChanged();
100 void targetChanged();
103class PluginManager :
public QObject
106 Q_PROPERTY(PluginsModel *plugins READ plugins FINAL CONSTANT)
107 Q_PROPERTY(PluginInterfacesModel *interfaces READ interfaces FINAL CONSTANT)
109 static PluginManager *instance()
111 static PluginManager manager;
115 PluginManager(
const PluginManager &) =
delete;
116 PluginManager &operator=(
const PluginManager &) =
delete;
117 PluginManager(PluginManager &&) =
delete;
118 PluginManager &operator=(PluginManager &&) =
delete;
121 PluginsModel *plugins()
const
125 PluginInterfacesModel *interfaces()
const
131 PluginManager(
QObject *parent =
nullptr);
133 PluginsModel *m_plugins;
134 PluginInterfacesModel *m_interfaces;
137 void interfacesChanged();
void setTarget(const SkyPoint &targetCoord)
Type type(const QSqlDatabase &db)
A set of helpers for managing the key-value model data type.
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:16 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.