mickey
25th February 2006, 17:35
Hi, I'd like break a connect (make from designer and re-connect). I try this:
MainForm* w;
disconnect(w->cubeSpinBoxHeight, 0, w, 0 );
w->cubeSpinBoxHeight->setValue(0);
connect(w->cubeSpinBoxHeight, SIGNAL(valueChanged(int)),w, SLOT(w->setCubeDimension(int)));
But connect don't work! The re-connect is the same in the qtDesigner (and at startup it works!). What do I wrong?
MainForm* w;
disconnect(w->cubeSpinBoxHeight, 0, w, 0 );
w->cubeSpinBoxHeight->setValue(0);
connect(w->cubeSpinBoxHeight, SIGNAL(valueChanged(int)),w, SLOT(w->setCubeDimension(int)));
But connect don't work! The re-connect is the same in the qtDesigner (and at startup it works!). What do I wrong?