title: Prevent Firing Signals in Qt
body: <p>We have a <code>QCheckBox</code> object, when user checks it or removes check we want to call a function so we connect our function to <code>stateChanged  ( int state )</code> signal. On the other hand, according to some condition we also change the state of <code>QCheckBox</code> object inside code, and this causes the unwanted signal.</p>
  
  <p>Is there any way to prevent firing signal under some conditions?</p>