Public Member Functions | List of all members
iqt::CSignalBlocker Class Reference

Simple helper class blocking Qt signals of specified QObject. More...

#include <CSignalBlocker.h>

Public Member Functions

 CSignalBlocker (QObject *objectPtr, bool blockChilds=false)
 Constructor. More...
 
virtual ~CSignalBlocker ()
 Destructor. More...
 

Detailed Description

Simple helper class blocking Qt signals of specified QObject.

Definition at line 19 of file CSignalBlocker.h.

Constructor & Destructor Documentation

iqt::CSignalBlocker::CSignalBlocker ( QObject *  objectPtr,
bool  blockChilds = false 
)

Constructor.

Parameters
[in,out]objectPtrif non-null, pointer to the object to be blocked/unblocked.
blockChilds(Optional) true to block the object's childs.
virtual iqt::CSignalBlocker::~CSignalBlocker ( )
virtual

Destructor.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy