Solid
device.h
Go to the documentation of this file.
Type
This enum type defines the type of device interface that a Device can have.
Definition deviceinterface.h:67
Definition device_p.h:36
static QList< Device > listFromType(const DeviceInterface::Type &type, const QString &parentUdi=QString())
Retrieves a list of devices of the system given matching the given constraints (parent and device int...
Definition devicemanager.cpp:100
QStringList emblems() const
Retrieves the names of the emblems representing the state of this device.
Definition device.cpp:141
Device & operator=(const Device &device)
Assigns a device to this device and returns a reference to it.
Definition device.cpp:91
QString parentUdi() const
Retrieves the Universal Device Identifier (UDI) of the Device's parent.
Definition device.cpp:107
QString icon() const
Retrieves the name of the icon representing this device.
Definition device.cpp:136
static QList< Device > allDevices()
Retrieves all the devices available in the underlying system.
Definition devicemanager.cpp:65
bool isDeviceInterface(const DeviceInterface::Type &type) const
Tests if a device interface is available from the device.
Definition device.cpp:151
DeviceInterface * asDeviceInterface(const DeviceInterface::Type &type)
Retrieves a specialized interface to interact with the device corresponding to a particular device in...
Definition device.cpp:159
Device(const QString &udi=QString())
Constructs a device for a given Universal Device Identifier (UDI).
Definition device.cpp:75
static QList< Device > listFromQuery(const Predicate &predicate, const QString &parentUdi=QString())
Retrieves a list of devices of the system given matching the given constraints (parent and predicate)
Definition devicemanager.cpp:122
const DevIface * as() const
Retrieves a specialized interface to interact with the device corresponding to a given device interfa...
Definition device.h:251
QString product() const
Retrieves the name of the product corresponding to this device.
Definition device.cpp:131
DevIface * as()
Retrieves a specialized interface to interact with the device corresponding to a given device interfa...
Definition device.h:238
Definition acadapter.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.