PDA

View Full Version : Signals and Slots



83.manish
27th June 2008, 12:00
Hi All,

I am very new in Qt, and very excited about Qt. I was just reading about Signals and Slots. I searched on internet and i was able to find some examples and mechanism how it work. I am more interested in knowing how Signals and Slots is implemented in Qt. Does it uses Set/List? Or it has its own way of handling Observer pattern? I just found another implementation of Signals and Slots which is available on sigslot.sourceforge.net.

Where can i found implementation + design documents of Signals and Slots in Qt? Please help.

Thanks,
Manish

caduel
27th June 2008, 12:24
Qt is available as open source.
Check the source and see for yourself!
(hint: look inside src/corelib/kernel/; and src/tools/moc)

HTH

MrShahi
27th June 2008, 12:29
There is lots of example of Qt which uses signal and slots ......
In ur system you can find this source code at /usr/local/Trolltech/Qt4/example/;)

83.manish
30th June 2008, 11:31
thanks a lot. i will definitely check those links.

Thanks a lot!
Manish