Hello Viktor

vszakats wrote:
> 
>   * contrib/hbqt/filelist.mk
>   + contrib/hbqt/hbqt_hbslots2.cpp
>   + contrib/hbqt/hbqt_hbevents2.cpp
>     + Added new implementation of slots and events.
>       This fixes potential leaks in old implementation by
>       moving HB_EVENTS, HB_SLOTS low level per-thread
>       structures to .prg level and adding proper GC destructors
>       to them.
>       To use the new interface in .prg level code, following changes
>       will have to be applied:
>         1. Adding new :events, :slots holder variables to .prg level.
>         2. Init these holder variables with QT_EVENTS_NEW() and
> QT_SLOTS_NEW().
>         3. Make these conversions:
>             QT_CONNECT_EVENT( ... )     -> QT_EVENTS_CONNECT( p, ... )
>             QT_DISCONNECT_EVENT( ... )  -> QT_EVENTS_DISCONNECT( p, ... )
>             QT_CONNECT_SIGNAL( ... )    -> QT_SLOTS_CONNECT( p, ... )
>             QT_DISCONNECT_SIGNAL( ... ) -> QT_SLOTS_DISCONNECT( p, ... )
>             QT_GETEVENTFILTER()         -> QT_EVENTS_PTR( p ) (there is a
> TOFIX here for the future)
>         4. Delete these calls:
>             QT_EVENTS_DESTROY()
>             QT_SLOTS_DESTROY()
>     ; Pritpal, can you please review this method?
> 

Sure. I am at the fag-end of implementation of themes in HBIDE
which I hope to finish in few hours. Then I will review these changes.

Regards
Pritpal Bedi

-- 
View this message in context: 
http://old.nabble.com/SF.net-SVN%3A-harbour-project%3A-13449--trunk-harbour-tp26998250p26998385.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to