PDA

View Full Version : User Defined Signal?



rajeshs
18th December 2007, 10:46
Hi All,

Is there any way to define User defined Signals in Qt ?

I want to send signal to parent window from child window when some actions happen in

child window ? I am having event filter In event filter i am checking keys , I want to call

one slot from parent class based on key , I want to send userdefined signal to parent class

to call the slot , How to do this?

jpn
18th December 2007, 11:04
Yes, it is possible to declare custom signals. Start with reading the documentation about signals and slots (http://doc.trolltech.com/latest/signalsandslots.html).

rajeshs
18th December 2007, 12:42
thank you ,

now i got. we can use emit.