Op 21-9-2011 17:57, Peter Kuemmel schreef:
> ...
>> I don't like it either.
>>
> I know, both solutions aren't very elegant, but I hope
> someone gets inspired and finds a better solution.
>
> And I still prefer to have things checked by the compiler
> and not to trust developers ("I promise I never emitted
> aboutToQuit() by accident").
>
> Peter
Stupid question, but perhaps it can trigger an idea in somebody more 
into the material and smarter than me?

Is it really nessecairy that _everyone_ has public access to the signal? 
What if only QObject had access to it? Would that work? If so, it could 
work to just make QObject a friend class of every class that has the 
Q_OBJECT macro defined, right? Could that work?

André

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to