Vadim Godunko wrote:
> 
> Only one question, is it mandatory that descendants be dynamically 
> allocated?
> 
The dynamic allocation of the QObject subclasses is most useful and safe 
strategy. It is possible to allocate their statically, but this has 
different from C++ semantic, and may be the reason of some runtime 
problems (accessibility level checks failures for example).

> By the way wasn't it possible to manage for Q_Object being a controlled
> type?  This would have avoided having to forcing user to initialize.  
> Yes, I am that lazy.  :-)
> 
Unfortunately, no. This is because most QObject subclasses don't have 
default constructors.

_______________________________________________
qtada-users mailing list
[email protected]
http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to