is "emit" a key word?
Patrick Noffke
pnoffke at bigpond.com
Thu Jan 19 02:50:27 GMT 2006
zephyr public wrote:
>
> If I rename the "emit" to other words, it's fine.
>
It is used by Qt (the foundation of Kdevelop) to emit signals. Qt tools
run a preprocessor (moc) on your code to generate the actual code to do
the work of emit, so it's not actually a language keyword. It's
possible you have inadvertantly included one of the Qt headers, or it
may be a bug. Because you can compile and run your programs, it sounds
like a bug, but that's just a guess without digging into it.
Pat
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list