58134016854865084d6731dc1bc54425ea9b56db
* contrib/hbqt/qtcore/hbqt_pointer.cpp
+ __HBQT_ERROR() accepts error code.
* contrib/hbqt/qtcore/hbqt_hbqevents.cpp
* contrib/hbqt/qtcore/hbqt_hbqslots.cpp
+ __HBQT_SLOTS_[DIS]CONNECT(),
__HBQT_EVENTS_[DIS]CONNECT() will now return
a numeric error code which is zero on success
and a negative number on failure. Each failure
case returns a distinct number.
% Cleaned and simplified the code, though it's
still very messy and it probably has some bad
race conditions and other oddities also. Variable
names also need a revamp to get consistent.
Remove several TRACE calls, now the error ones
should RTE.
% Merged two internal worker functions into caller
function.
! Fixed bad miss in hbqt_slots_unregister_callback().
(It's not called in Harbour code yet)
Thanks Francesco Perillo for spotting it.
* contrib/hbqt/qtcore/hbqt_misc.prg
* :connect()/:disconnect() will now throw RTEs
in case any errors were detected. Can be fine
tuned later, if needed.
; NOTE: Please contribute with code and patches as I have
hardly much time to deal with complaints in detail.
Peer-review is also highly welcome. commit mailing
list is recommended to verify what has been changed.
Description
Harbour Core — Reference source for Five development
Languages
C
80.3%
xBase
17.8%
Makefile
0.6%
C++
0.4%
Harbour
0.4%
Other
0.3%