 |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Go to the documentation of this file.
14 #include <QStringList>
168 :
Rx_ { str, Qt::CaseSensitive, QRegExp::FixedString }
178 using ANFieldValue = std::variant<ANBoolFieldValue, ANIntFieldValue, ANStringFieldValue>;
218 Q_DECLARE_INTERFACE (
IANEmitter,
"org.Deviant.LeechCraft.IANEmitter/1.0")
223 Q_DECLARE_OPERATORS_FOR_FLAGS (
LC::ANIntFieldValue::Operations)
int Boundary_
The boundary of the field.
Q_DECLARE_FLAGS(TabFeatures, LC::TabFeature)
Describes a field with QString values.
bool operator==(const ANStringFieldValue &) const =default
Describes a field with boolean values.
Operation
Describes the elementary semantics of Boundary_.
ANStringFieldValue(const QRegExp &rx, bool contains)
Constructs the field matcher.
QString Name_
The name of the field.
Interface for plugins emitting AdvancedNotifications entries.
Operations Ops_
Describe the semantics of Boundary_.
Type
Describes the various types of XDG .desktop files.
QVariant::Type Type_
The type of this field.
@ OEqual
The value should be equal to Boundary_.
QVariantList AllowedValues_
The allowed values of this field.
Q_DECLARE_METATYPE(QVariantList *)
QRegExp Rx_
The regular expression the values should (not) match.
Describes a field with integer values.
bool IsSet_
Whether the field should be set.
QStringList EventTypes_
The types of the event that contain this field.
std::variant< ANBoolFieldValue, ANIntFieldValue, ANStringFieldValue > ANFieldValue
A combination of all possible descriptions.
@ OGreater
The value should be greater than Boundary_.
bool operator==(const ANIntFieldValue &) const =default
QString Description_
The description of the field.
@ OLess
The value should be less than Boundary_.
bool Contains_
Whether the values should match or not match Rx_.