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