View Full Version : Emit
ToddAtWSU
13th January 2006, 17: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, 17:30
http://doc.trolltech.com/4.1/signalsandslots.html
zlatko
13th January 2006, 17:31
You can use emit for sending your own signals.Read details in QAsistant.
Everall
2nd February 2006, 11:59
What does "emit" do?
you can call the signal also without using the "emit" .
It's just syntactical sugar.
Cheers
Powered by vBulletin® Version 4.2.5 Copyright © 2023 vBulletin Solutions Inc. All rights reserved.