Thanks.
I followed the example but gotten this error during linking.
LNK2019:unresolved external symbol"protected: void __thiscall mythread:valuceChanged(int)"

What I dont get is, this valueChanged is the standard function for signals.
So, do I have to define it again in my own function?
And the example didnt show that we need to define this valueChanged function either.

Any help?