[Qt-interest] declare signals and slots in macros

Andrea Franceschini therealmorpheu5 at gmail.com
Fri Mar 13 00:40:38 CET 2009


2009/3/13 Rush Manbert <rush at manbert.com>:

> #ifdef Q_MOC_RUN
> # define slots slots
> #endif

Yes, I thought of this but it really seems too naught even for me :)
Anyway I'll keep it as a last resort unless someone else advice me
otherwise.

-- 
Andrea



More information about the Qt-interest-old mailing list