![]() |
LeechCraft 0.6.70-19424-g027e980fd1
Modular cross-platform feature rich live environment.
|
A single additional AdvancedNotifications field. More...
#include "ianemitter.h"
Classes | |
| struct | AllowedValue |
Public Types | |
| using | AllowedValues = QList<AllowedValue> |
Public Attributes | |
| QString | ID_ |
| The field ID. | |
| QString | Name_ |
| The name of the field. | |
| QString | Description_ |
| The description of the field. | |
| QMetaType::Type | Type_ = QMetaType::UnknownType |
| The type of this field. | |
| QStringList | EventTypes_ |
| The types of the event that contain this field. | |
| AllowedValues | AllowedValues_ = {} |
| The allowed values of this field. | |
A single additional AdvancedNotifications field.
This data structure describes an additional field in the AdvancedNotifications notification entities. The field ID (the name of the corresponding key in LC::Entity::Additional_ map) is stored in the ID_ member.
This structure also carries information about field name, type, description and such.
Definition at line 29 of file ianemitter.h.
Definition at line 83 of file ianemitter.h.
| AllowedValues LC::AN::FieldData::AllowedValues_ = {} |
The allowed values of this field.
If this list is non-empty, only values from this list are allowed.
This only makes sense for Type_ being either QVariant::String or QVariant::StringList.
Definition at line 93 of file ianemitter.h.
| QString LC::AN::FieldData::Description_ |
The description of the field.
This member contains the human-readable description of this field.
Definition at line 49 of file ianemitter.h.
| QStringList LC::AN::FieldData::EventTypes_ |
The types of the event that contain this field.
This member contains the types of the events that contain this field. This field won't be checked in events of types not mentioned here.
Definition at line 68 of file ianemitter.h.
| QString LC::AN::FieldData::ID_ |
The field ID.
The field ID is the value of the corresponding key in the LC::Entity::Additional_ map.
Definition at line 36 of file ianemitter.h.
| QString LC::AN::FieldData::Name_ |
The name of the field.
This member contains the human-readable name of this field.
Definition at line 42 of file ianemitter.h.
| QMetaType::Type LC::AN::FieldData::Type_ = QMetaType::UnknownType |
The type of this field.
This member contains the type of the value of this field - the value for the corresponding key (equal to ID_) in the LC::Entity::Additional_ map.
For now only QVariant::Int, QVariant::String and QVariant::StringList are supported.
Definition at line 60 of file ianemitter.h.