libdrmconf  0.10.4
A library to program DMR radios.
Public Member Functions | Protected Attributes | List of all members
RadioLimitIgnoredBool Class Reference

Specifies an boolean value as ignored. More...

#include <radiolimits.hh>

Inheritance diagram for RadioLimitIgnoredBool:
Inheritance graph
[legend]
Collaboration diagram for RadioLimitIgnoredBool:
Collaboration graph
[legend]

Public Member Functions

 RadioLimitIgnoredBool (RadioLimitIssue::Severity notify=RadioLimitIssue::Hint, 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 RadioLimitBool
 RadioLimitBool (QObject *parent=nullptr)
 Constructor.
 
- Public Member Functions inherited from RadioLimitElement
virtual ~RadioLimitElement ()
 Destructor.
 

Protected Attributes

RadioLimitIssue::Severity _severity
 The severity of the issue generated.
 

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

Specifies an boolean value as ignored.

If the boolean value is true, a message is generated indicating that this property is ignored. If the value is false, nothing happens.

Constructor & Destructor Documentation

◆ RadioLimitIgnoredBool()

RadioLimitIgnoredBool::RadioLimitIgnoredBool ( RadioLimitIssue::Severity  notify = RadioLimitIssue::Hint,
QObject *  parent = nullptr 
)
explicit

Constructor.

Parameters
notifySpecifies the severity of the generated message.
parentSpecifies the QObject parent.

Member Function Documentation

◆ verify()

bool RadioLimitIgnoredBool::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.

Reimplemented from RadioLimitBool.


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