[Interest] Is the emit keyword purely cosmetic?
thiago.macieira at intel.com
Tue Mar 20 19:06:15 CET 2012
On terça-feira, 20 de março de 2012 19.58.00, Nikos Chantziaras wrote:
> 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:
moc doesn't parse your source code. So it doesn't see any "emit" at all.
> emit someSignal();
> or just call the signal member function directly:
> Is "emit" purely cosmetic?
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the Interest