Hi, I'd like break a connect (make from designer and re-connect). I try this:
MainForm* w;
Qt Code:
  1. disconnect(w->cubeSpinBoxHeight, 0, w, 0 );
  2. w->cubeSpinBoxHeight->setValue(0);
  3. connect(w->cubeSpinBoxHeight, SIGNAL(valueChanged(int)),w, SLOT(w->setCubeDimension(int)));
To copy to clipboard, switch view to plain text mode 
But connect don't work! The re-connect is the same in the qtDesigner (and at startup it works!). What do I wrong?