OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::SignalBlockWrapper Class Reference

The SignalBlockWrapper is a RAII wrapper for blocking signals of a given QObject. More...

#include "SignalBlockWrapper.h"

Public Member Functions

 SignalBlockWrapper (QObject *_object)
 Constructor. The currently set "block signals" state of the given object will be stored and the signals will be blocked.
 
 ~SignalBlockWrapper ()
 Destructor. The "blocked signals" state of the provided object will be set back to the initial value, any previous changes will be ignored.
 

Detailed Description

The SignalBlockWrapper is a RAII wrapper for blocking signals of a given QObject.

Constructor & Destructor Documentation

◆ SignalBlockWrapper()

ot::SignalBlockWrapper::SignalBlockWrapper ( QObject * _object)
inline

Constructor. The currently set "block signals" state of the given object will be stored and the signals will be blocked.

◆ ~SignalBlockWrapper()

ot::SignalBlockWrapper::~SignalBlockWrapper ( )
inline

Destructor. The "blocked signals" state of the provided object will be set back to the initial value, any previous changes will be ignored.


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