[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: qt-slot-problem
On Sat, May 13, 2000 at 11:16:25PM +0530, Chetan Gopal Kashinath wrote:
> hi,
>
> i am unable to implement a slot in qt which takes parameters. i am using
> qt 1.44. is anybody aware of anything that has to be done to make a slot
> accept parameters. the slot works fine if it is made to accept no
> parameters. is it a bug in 1.44 and has it been rectified in 2.0.2 ??
It depends on the signal you're trying to connect to. From man qobject:
QObject::connect( scroll, SIGNAL(valueChanged(int)),
label, SLOT(setNum(int)) );
-Arun