libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
RadioLimitBool Class Reference

Checks if a property is a boolean value. More...

#include <radiolimits.hh>

Inheritance diagram for RadioLimitBool:
Collaboration diagram for RadioLimitBool:

Public Member Functions

 RadioLimitBool (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 (QObject *parent=nullptr)
 Hidden constructor.
 
- Protected Member Functions inherited from RadioLimitElement
 RadioLimitElement (QObject *parent=nullptr)
 Hidden constructor.
 

Detailed Description

Checks if a property is a boolean value.

Member Function Documentation

◆ verify()

bool RadioLimitBool::verify ( const ConfigItem * item,
const QMetaProperty & prop,
RadioLimitContext & context ) const
virtual

Verifies the given property of the specified item.

This method gets implemented by the specialized classes to implement the actual verification.

Implements RadioLimitElement.

Reimplemented in RadioLimitIgnoredBool.


The documentation for this class was generated from the following files: