|
qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Recursively blocks all signals from an object and its children. More...
#include <recursivesignalblocker.h>

Public Member Functions | |
| RecursiveSignalBlocker (QObject *object) | |
| Creates a QSignalBlocker recursively on the object and child objects. More... | |
| ~RecursiveSignalBlocker () | |
| void | recursiveBlock (QObject *object) |
| Recursively blocks all signals of the object. More... | |
Private Attributes | |
| QVector< const QSignalBlocker * > | mBlockers |
Recursively blocks all signals from an object and its children.
Wraps a QSignalBlocker on each object. Signals will be unblocked when the blocker gets destroyed. According to QSignalBlocker, we are also exception safe.
Definition at line 27 of file recursivesignalblocker.h.
|
explicit |
Creates a QSignalBlocker recursively on the object and child objects.
| [in] | object | the object, which signals should be blocked |
Definition at line 38 of file recursivesignalblocker.cpp.

| RecursiveSignalBlocker::~RecursiveSignalBlocker | ( | ) |
Definition at line 43 of file recursivesignalblocker.cpp.
| void RecursiveSignalBlocker::recursiveBlock | ( | QObject * | object | ) |
Recursively blocks all signals of the object.
| [in] | object | the object to block |
Definition at line 52 of file recursivesignalblocker.cpp.

|
private |
Definition at line 36 of file recursivesignalblocker.h.
1.8.17