[Interest] Is the emit keyword purely cosmetic?

Nikos Chantziaras realnc at gmail.com
Tue Mar 20 18:58:00 CET 2012


I noticed that when emitting signals, I can simply omit the "emit" 
keyword.  moc seems to produce the same code, regardless of whether I do:

   emit someSignal();

or just call the signal member function directly:

   someSignal();

Is "emit" purely cosmetic?




More information about the Interest mailing list