Solid
predicate.cpp
Go to the documentation of this file.
static QString typeToString(Type type)
Definition: deviceinterface.cpp:50
Type
This enum type defines the type of device interface that a Device can have.
Definition: deviceinterface.h:67
static Type stringToType(const QString &type)
Definition: deviceinterface.cpp:57
This class allows applications to deal with devices available in the underlying system.
Definition: device.h:49
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
bool matches(const Device &device) const
Checks if a device matches the predicate.
Definition: predicate.cpp:189
ComparisonOperator comparisonOperator() const
Retrieves the comparison operator used to compare a property's value.
Definition: predicate.cpp:356
Predicate secondOperand() const
A smaller, inner predicate which is the second to appear and is compared with the first one.
Definition: predicate.cpp:369
QString propertyName() const
Retrieves the property name used when retrieving the value to compare against.
Definition: predicate.cpp:346
ComparisonOperator
The comparison operator which can be used for matching within the predicate.
Definition: predicate.h:54
QVariant matchingValue() const
Retrieves the value used when comparing a devices property to see if it matches the predicate.
Definition: predicate.cpp:351
Predicate firstOperand() const
A smaller, inner predicate which is the first to appear and is compared with the second one.
Definition: predicate.cpp:361
DeviceInterface::Type interfaceType() const
Retrieves the interface type.
Definition: predicate.cpp:341
QSet< DeviceInterface::Type > usedTypes() const
Retrieves the device interface types used in this predicate.
Definition: predicate.cpp:242
Type type() const
Retrieves the predicate type, used to determine how to handle the predicate.
Definition: predicate.cpp:336
Definition: acadapter.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.