Solid
devicemanager.cpp
Go to the documentation of this file.
22 #include "devicemanager_p.h" //krazy:exclude=includes (devicenotifier.h is the header file for this class)
Definition: device_p.h:35
~DeviceManagerPrivate()
Definition: devicemanager.cpp:49
QList< QObject * > managerBackends() const
Definition: managerbase.cpp:110
DeviceManagerStorage()
Definition: devicemanager.cpp:267
Definition: devicemanager_p.h:42
This class allows applications to deal with devices available in the underlying system.
Definition: device.h:48
T * data() const
QSet< DeviceInterface::Type > usedTypes() const
Retrieves the device interface types used in this predicate.
Definition: predicate.cpp:242
bool matches(const Device &device) const
Checks if a device matches the predicate.
Definition: predicate.cpp:189
QString & remove(int position, int n)
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
static QList< Device > listFromQuery(const QString &predicate, const QString &parentUdi=QString())
Convenience function see above.
Definition: devicemanager.cpp:85
Type
This enum type defines the type of device interface that a Device can have.
Definition: deviceinterface.h:67
void append(const T &value)
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
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
static Predicate fromString(const QString &predicate)
Converts a string to a predicate.
Definition: predicateparse.cpp:56
QList< QObject * > managerBackends()
Definition: devicemanager.cpp:272
Definition: devicemanager_p.h:64
DevicePrivate * findRegisteredDevice(const QString &udi)
Definition: devicemanager.cpp:219
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
static QList< Device > allDevices()
Retrieves all the devices available in the underlying system.
Definition: devicemanager.cpp:65
QSet< T > & intersect(const QSet< T > &other)
This class allow to query the underlying system to obtain information about the hardware available...
Definition: devicenotifier.h:42
QSet< T > fromList(const QList< T > &list)
void setBackendObject(Ifaces::Device *object)
Definition: device.cpp:290
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.