PDA

View Full Version : Emit



ToddAtWSU
13th January 2006, 16:23
I am looking through some Qt code and have been seeing the keyword "emit" followed by a function call. What does "emit" do? Why could the function just not be called. I have looked on-line for some information, but I have not found anything that clears up my confusion. Thanks for your help!

Dusdan
13th January 2006, 16:30
http://doc.trolltech.com/4.1/signalsandslots.html

zlatko
13th January 2006, 16:31
You can use emit for sending your own signals.Read details in QAsistant.

Everall
2nd February 2006, 10:59
What does "emit" do?

you can call the signal also without using the "emit" .
It's just syntactical sugar.

Cheers