24. June 2009, 6:44PM
Comment by Prasad
I do not know much about C++, but if this was C, I'd put something like this in my header files:
#if defined(DEBUG)#define PUBLIC public slots#else#define PUBLIC public#endif
and end up replacing all public: with PUBLIC:
But there are people who frown upon things like this! :-)