|
libdrmconf 0.15.0
A library to program DMR radios.
|
Verifies string values containing only numbers. More...
#include <radiolimits.hh>


Public Member Functions | |
| RadioLimitPin (int length=-1, RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Warning, QObject *parent=nullptr) | |
| Constructor. | |
| Public Member Functions inherited from RadioLimitStringRegEx | |
| RadioLimitStringRegEx (const QString &pattern, RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Warning, QObject *parent=nullptr) | |
| 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. | |
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. | |
| Protected Attributes inherited from RadioLimitStringRegEx | |
| QRegularExpression | _pattern |
| Holds the regular expression pattern. | |
| Protected Attributes inherited from RadioLimitValue | |
| RadioLimitIssue::Severity | _severity |
| The severity of the issue, if the test fails. | |
Verifies string values containing only numbers.
| RadioLimitPin::RadioLimitPin | ( | int | length = -1, |
| RadioLimitIssue::Severity | severity = RadioLimitIssue::Severity::Warning, | ||
| QObject * | parent = nullptr ) |
Constructor.
| length | Specifies the maximum length of the pin. If -1, length is not limited. |
| severity | Specifies the severity of the issue. |
| parent | Specifies the QObject parent. |