Quote Originally Posted by olidem View Post
Well, "i" is the index of the slider that has been changed.
You can't pass values that way!

I want to solve elegantly the problem of handling each slider in a similar way:
If I had eg 5 methods
Qt Code:
  1. public slots:
  2. void adequate_function0(int value);
  3. void adequate_function1(int value);
  4. void adequate_function2(int value);
  5. void adequate_function3(int value);
  6. void adequate_function4(int value);
To copy to clipboard, switch view to plain text mode 
I could do something similar.
Use a signal mapper as JimDaniel has suggested or sender() in your slot to get the sender.