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