|
libdrmconf
0.10.4
A library to program DMR radios.
|
Implements the limits for a list of references to group call contacts. More...
#include <radiolimits.hh>


Public Member Functions | |
| RadioLimitGroupCallRefList (int minSize, int maxSize, QObject *parent=nullptr) | |
| Constructor. More... | |
| bool | verify (const ConfigItem *item, const QMetaProperty &prop, RadioLimitContext &context) const |
| Verifies the given property of the specified item. More... | |
Public Member Functions inherited from RadioLimitElement | |
| virtual | ~RadioLimitElement () |
| Destructor. | |
Protected Attributes | |
| qint64 | _minSize |
| Holds the minimum size of the list. | |
| qint64 | _maxSize |
| Holds the maximum size of the list. | |
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 RadioLimitElement | |
| RadioLimitElement (QObject *parent=nullptr) | |
| Hidden constructor. | |
Implements the limits for a list of references to group call contacts.
This is used to restrict the elements of group lists to group calls.
| RadioLimitGroupCallRefList::RadioLimitGroupCallRefList | ( | int | minSize, |
| int | maxSize, | ||
| QObject * | parent = nullptr |
||
| ) |
Constructor.
| minSize | Specifies the minimum size of the list. If -1, no check is performed. |
| maxSize | Specifies the maximum size of the list. If -1, no check is performed. |
| parent | Specifies the QObject parent. |
|
virtual |
Verifies the given property of the specified item.
This method gets implemented by the specialized classes to implement the actual verification.
Implements RadioLimitElement.