I found another solution:

Qt Code:
  1. class NiceSlider : public QSlider
  2. {
  3. Q_OBJECT
  4. public:
  5. NiceSlider(int id, Qt::Orientation orientation, QWidget * parent);
  6.  
  7. signals:
  8. void valueChanged( int value, int id);
  9.  
  10. protected:
  11. void sliderChange(SliderChange c)
  12. {
  13. if(c == QAbstractSlider::SliderValueChange)
  14. emit valueChanged( this->value(), _id );
  15.  
  16. QSlider::sliderChange(c);
  17. };
  18.  
  19. private:
  20. int _id;
  21. };
To copy to clipboard, switch view to plain text mode 
and in the constructor from earlier:
Qt Code:
  1. MyWidget::MyWidget()
  2. {
  3. for (int i=0 ; i<5 ; i++)
  4. {
  5. m_sliders.append( new NiceSlider ( i, Qt::Horizontal, this) );
  6. QObject::connect( m_sliders[i], SIGNAL(valueChanged(int,int)),
  7. &m_view, SLOT(setDeformationFactor(int,int)));
  8. }
  9. }
To copy to clipboard, switch view to plain text mode 

NICE, isn't it ?

Thank you all a lot!

Best regards,
Olli