GortiZ
1st April 2008, 09:37
Hi to all,
I'm starting with QT4 and I need to connect an "int" signal to a "double" slot.
I've tried with:
QSpinBox::connect(mw_ui->spinbox_LineNumber, SIGNAL(valueChanged(int)), &(*mw_ui->qwtSlider_LineNumber), SLOT(setValue(double)));
but I receive the message:
Incompatible sender/receiver...
I've searched on google how to solve this problem.. but I havn't find nothing..
could someone help me?
Thanks
GortiZ
I'm starting with QT4 and I need to connect an "int" signal to a "double" slot.
I've tried with:
QSpinBox::connect(mw_ui->spinbox_LineNumber, SIGNAL(valueChanged(int)), &(*mw_ui->qwtSlider_LineNumber), SLOT(setValue(double)));
but I receive the message:
Incompatible sender/receiver...
I've searched on google how to solve this problem.. but I havn't find nothing..
could someone help me?
Thanks
GortiZ