Solid
fakemanager.cpp
40 QDBusConnection::sessionBus().registerObject(QStringLiteral("/org/kde/solid/fakehw"), this, QDBusConnection::ExportNonScriptableSlots);
64 QDBusConnection::sessionBus().unregisterObject(QStringLiteral("/org/kde/solid/fakehw"), QDBusConnection::UnregisterTree);
91QStringList FakeManager::devicesFromQuery(const QString &parentUdi, Solid::DeviceInterface::Type type)
QStringList devicesFromQuery(const QString &parentUdi, Solid::DeviceInterface::Type type) override
Retrieves the Universal Device Identifier (UDI) of all the devices matching the given constraints (pa...
Definition fakemanager.cpp:91
QObject * createDevice(const QString &udi) override
Instantiates a new Device object from this backend given its UDI.
Definition fakemanager.cpp:121
QStringList allDevices() override
Return the list of UDI of all available devices.
Definition fakemanager.cpp:80
QString udiPrefix() const override
Retrieves the prefix used for the UDIs off all the devices reported by the device manager.
Definition fakemanager.cpp:70
QSet< Solid::DeviceInterface::Type > supportedInterfaces() const override
Retrieves a set of interfaces the backend supports.
Definition fakemanager.cpp:75
Type
This enum type defines the type of device interface that a Device can have.
Definition frontend/deviceinterface.h:50
This class specifies the interface a backend will have to implement in order to be used in the system...
Definition devicemanager.h:29
void deviceAdded(const QString &udi)
This signal is emitted when a new device appears in the system.
void deviceRemoved(const QString &udi)
This signal is emitted when a device disappears from the system.
KGuiItem properties()
ExportNonScriptableSlots
UnregisterTree
bool registerObject(const QString &path, QObject *object, RegisterOptions options)
QDBusConnection sessionBus()
void unregisterObject(const QString &path, UnregisterMode mode)
QDomElement documentElement() const const
ParseResult setContent(QAnyStringView text, ParseOptions options)
QString attribute(const QString &name, const QString &defValue) const const
QString tagName() const const
QString text() const const
QDomNode firstChild() const const
bool isNull() const const
QDomNode nextSibling() const const
QDomElement toElement() const const
ReadOnly
ConstIterator
void append(QList< T > &&value)
const_iterator constBegin() const const
const_iterator constEnd() const const
bool contains(const Key &key) const const
iterator insert(const Key &key, const T &value)
bool isEmpty() const const
T take(const Key &key)
T value(const Key &key, const T &defaultValue) const const
Q_EMITQ_EMIT
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.