your class as getSliderValue()
private slots:
void valueReceived(int);
connect(horzSlider_saturation, SIGNAL(valueChanged(int)), getSliderValue, SLOT(valueReceived(int));
void getSliderValue::valueReceived(int output)
{
//output will have the value now
}
private slots:
void valueReceived(int);
connect(horzSlider_saturation, SIGNAL(valueChanged(int)), getSliderValue, SLOT(valueReceived(int));
void getSliderValue::valueReceived(int output)
{
//output will have the value now
}
To copy to clipboard, switch view to plain text mode
Bookmarks