[Qt-interest] declare signals and slots in macros
Andrea Franceschini
therealmorpheu5 at gmail.com
Thu Mar 12 23:32:21 CET 2009
Hi all,
As you may have guessed, I am the one that always comes out with
naughty code :) This time I tried to define a macro which dealt with
the declaration of slots. Obviously macro expansion is not recursive,
so basically when I put in my macro
public slots:
it is expanded as
public :
which makes a lot of things go wrong. So, as far as you know, is there
a better way to achieve this? I so badly need to do that but of course
the rules of the games are these. Ideas?
--
Andrea
More information about the Qt-interest-old
mailing list