Qt 4.8
Public Functions | Properties | List of all members
QBoolBlocker Class Reference

#include <qobject_p.h>

Public Functions

 QBoolBlocker (bool &b, bool value=true)
 
 ~QBoolBlocker ()
 

Properties

bool & block
 
bool reset
 

Detailed Description

Definition at line 320 of file qobject_p.h.

Constructors and Destructors

◆ QBoolBlocker()

QBoolBlocker::QBoolBlocker ( bool &  b,
bool  value = true 
)
inline

Definition at line 323 of file qobject_p.h.

323 :block(b), reset(b){block = value;}
bool & block
Definition: qobject_p.h:326

◆ ~QBoolBlocker()

QBoolBlocker::~QBoolBlocker ( )
inline

Definition at line 324 of file qobject_p.h.

324 {block = reset; }
bool & block
Definition: qobject_p.h:326

Properties

◆ block

bool& QBoolBlocker::block
private

Definition at line 326 of file qobject_p.h.

◆ reset

bool QBoolBlocker::reset
private

Definition at line 327 of file qobject_p.h.


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