Viktor Szakáts wrote:
>
> Is it be possible to add slots and events holder variables
> to QApplication class? If technically possible, IMO it should
> be done to clean this part of QT. It wouldn't even be
> an incompatible change, just convenience, since these
> two holders are always needed for QT apps.
>
Perhaps not.
The reason is, we need to manipulate this mechanism
on thread level, which, at this moment, is not mature unfortunately.
But I do not want to rob-off this possibility in any way.
Moreover, slots can be initiated per class instance basis
which is a big productivity boost. In a super class we
can initialize it without the intervention of the user and can
designate a destructor and as such it will be managed by the
class object.
Events, however, are different beast, have to be controlled
centralized. But still in that case, I cannot imagine how we
can attach to QApplication under the scenario it is
implemented currently.
-----
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
--
View this message in context:
http://n2.nabble.com/hbqt-a-couple-of-questions-tp4874292p4877801.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour