|
libdrmconf 0.14.1
A library to program DMR radios.
|
Represents a limit on levels. More...
#include <radiolimits.hh>


Public Member Functions | |
| RadioLimitLevel (const Range< unsigned int > &range={0, 10}, bool allowInvalid=true, RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Warning, QObject *parent=nullptr) | |
| Empty constructor. | |
| bool | verify (const ConfigItem *item, const QMetaProperty &prop, RadioLimitContext &context) const |
| Verifies the given property of the specified item. | |
| Public Member Functions inherited from RadioLimitElement | |
| virtual | ~RadioLimitElement () |
| Destructor. | |
Protected Attributes | |
| Range< unsigned int > | _range |
| bool | _allowInvalid |
| Protected Attributes inherited from RadioLimitValue | |
| RadioLimitIssue::Severity | _severity |
| The severity of the issue, if the test fails. | |
Additional Inherited Members | |
| Public Types inherited from RadioLimitElement | |
| typedef std::initializer_list< std::pair< QString, RadioLimitElement * > > | PropList |
| Initializer lists of ConfigItem properties. | |
| Protected Member Functions inherited from RadioLimitValue | |
| RadioLimitValue (RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Hint, QObject *parent=nullptr) | |
| Hidden constructor. | |
| Protected Member Functions inherited from RadioLimitElement | |
| RadioLimitElement (QObject *parent=nullptr) | |
| Hidden constructor. | |
Represents a limit on levels.
|
virtual |
Verifies the given property of the specified item.
This method gets implemented by the specialized classes to implement the actual verification.
Implements RadioLimitElement.