From b9fcb849933d36bacc9b0e06a3c585dfa8db17de Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Mon, 21 Dec 2009 23:03:42 +0000 Subject: [PATCH] 2009-12-21 15:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QMenuBar.cpp ! Regenerated after rebuilding hbqtgen.prg. --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbqt/qtgui/QMenuBar.cpp | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 101c9de931..2ad0a36a1b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-21 15:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * contrib/hbqt/qtgui/QMenuBar.cpp + ! Regenerated after rebuilding hbqtgen.prg. + 2009-12-21 23:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/garbage.c diff --git a/harbour/contrib/hbqt/qtgui/QMenuBar.cpp b/harbour/contrib/hbqt/qtgui/QMenuBar.cpp index cb1185cc4a..e8d31e76da 100644 --- a/harbour/contrib/hbqt/qtgui/QMenuBar.cpp +++ b/harbour/contrib/hbqt/qtgui/QMenuBar.cpp @@ -83,12 +83,12 @@ typedef struct QPointer< QMenuBar > pq; } QGC_POINTER_QMenuBar; -QT_G_FUNC( release_QMenuBar ) +QT_G_FUNC( hbqt_gcRelease_QMenuBar ) { QGC_POINTER_QMenuBar * p = ( QGC_POINTER_QMenuBar * ) Cargo; - HB_TRACE( HB_TR_DEBUG, ( "release_QMenuBar p=%p", p)); - HB_TRACE( HB_TR_DEBUG, ( "release_QMenuBar ph=%p pq=%p", p->ph, (void *)(p->pq))); + HB_TRACE( HB_TR_DEBUG, ( "hbqt_gcRelease_QMenuBar p=%p", p)); + HB_TRACE( HB_TR_DEBUG, ( "hbqt_gcRelease_QMenuBar ph=%p pq=%p", p->ph, (void *)(p->pq))); if( p && p->ph && p->pq ) { @@ -108,16 +108,16 @@ QT_G_FUNC( release_QMenuBar ) break; } p->ph = NULL; - HB_TRACE( HB_TR_DEBUG, ( "release_QMenuBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); + HB_TRACE( HB_TR_DEBUG, ( "hbqt_gcRelease_QMenuBar Object deleted! %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); } else { - HB_TRACE( HB_TR_DEBUG, ( "NO release_QMenuBar Object Name Missing!" ) ); + HB_TRACE( HB_TR_DEBUG, ( "NO hbqt_gcRelease_QMenuBar Object Name Missing!" ) ); } } else { - HB_TRACE( HB_TR_DEBUG, ( "DEL release_QMenuBar Object Already deleted!" ) ); + HB_TRACE( HB_TR_DEBUG, ( "DEL hbqt_gcRelease_QMenuBar Object Already deleted!" ) ); } } @@ -126,7 +126,7 @@ void * hbqt_gcAllocate_QMenuBar( void * pObj ) QGC_POINTER_QMenuBar * p = ( QGC_POINTER_QMenuBar * ) hb_gcAllocate( sizeof( QGC_POINTER_QMenuBar ), hbqt_gcFuncs() ); p->ph = pObj; - p->func = release_QMenuBar; + p->func = hbqt_gcRelease_QMenuBar; new( & p->pq ) QPointer< QMenuBar >( ( QMenuBar * ) pObj ); HB_TRACE( HB_TR_DEBUG, ( " new_QMenuBar %i B %i KB", ( int ) hb_xquery( 1001 ), hbqt_getmemused() ) ); return( p );