2010-08-07 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtcore/hbqt.h
* contrib/hbqt/utils/hbqtgen.prg
! Added HB_EXTERN_* around non-C++ declarations.
* contrib/hbqt/qtcore/hbqt.h
* contrib/hbqt/qtcore/hbqt_destruct.cpp
% Made one function and a structure static.
* contrib/hbqt/qtgui/g/hbqtgui.h
* contrib/hbqt/qtwebkit/g/hbqtwebkit.h
* contrib/hbqt/qtcore/g/hbqtcore.h
* contrib/hbqt/qtnetwork/g/hbqtnetwork.h
* contrib/hbqt/qscintilla/g/hbqscintilla.h
* contrib/hbqt/qtdesigner/g/hbqtdesigner.h
* Regenerated.
This commit is contained in:
@@ -16,6 +16,23 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-08-07 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbqt/qtcore/hbqt.h
|
||||
* contrib/hbqt/utils/hbqtgen.prg
|
||||
! Added HB_EXTERN_* around non-C++ declarations.
|
||||
|
||||
* contrib/hbqt/qtcore/hbqt.h
|
||||
* contrib/hbqt/qtcore/hbqt_destruct.cpp
|
||||
% Made one function and a structure static.
|
||||
|
||||
* contrib/hbqt/qtgui/g/hbqtgui.h
|
||||
* contrib/hbqt/qtwebkit/g/hbqtwebkit.h
|
||||
* contrib/hbqt/qtcore/g/hbqtcore.h
|
||||
* contrib/hbqt/qtnetwork/g/hbqtnetwork.h
|
||||
* contrib/hbqt/qscintilla/g/hbqscintilla.h
|
||||
* contrib/hbqt/qtdesigner/g/hbqtdesigner.h
|
||||
* Regenerated.
|
||||
|
||||
2010-08-06 18:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
+ contrib/hbide/resources/exit3.png
|
||||
+ contrib/hbide/resources/gotoline3.png
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "hbqt.h"
|
||||
|
||||
HB_EXTERN_BEGIN
|
||||
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQsciScintilla );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciAbstractAPIs );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QsciAPIs );
|
||||
@@ -39,6 +41,8 @@ extern HB_EXPORT void * hbqt_gcAllocate_QsciScintilla( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QsciStyle( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QsciStyledText( void * pObj, bool bNew );
|
||||
|
||||
HB_EXTERN_END
|
||||
|
||||
#define hbqt_par_HBQsciScintilla( n ) ( ( HBQsciScintilla * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QsciAbstractAPIs( n ) ( ( QsciAbstractAPIs * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QsciAPIs( n ) ( ( QsciAPIs * ) hbqt_gcpointer( n ) )
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "hbqt.h"
|
||||
|
||||
HB_EXTERN_BEGIN
|
||||
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBEvents );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBSlots );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemModel );
|
||||
@@ -117,6 +119,8 @@ extern HB_EXPORT void * hbqt_gcAllocate_QTranslator( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QUrl( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QVariant( void * pObj, bool bNew );
|
||||
|
||||
HB_EXTERN_END
|
||||
|
||||
#define hbqt_par_HBEvents( n ) ( ( HBEvents * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_HBSlots( n ) ( ( HBSlots * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QAbstractItemModel( n ) ( ( QAbstractItemModel * ) hbqt_gcpointer( n ) )
|
||||
|
||||
@@ -82,13 +82,15 @@ typedef struct
|
||||
int type;
|
||||
} HBQT_GC_T;
|
||||
|
||||
HB_GARBAGE_FUNC( Q_release );
|
||||
HB_EXTERN_BEGIN
|
||||
|
||||
extern HB_EXPORT void * hbqt_gcpointer( int iParam );
|
||||
extern HB_EXPORT const HB_GC_FUNCS * hbqt_gcFuncs( void );
|
||||
extern HB_EXPORT void * hbqt_pPtrFromObj( int iParam );
|
||||
extern HB_EXPORT void * hbqt_pPtrFromItem( PHB_ITEM pObj );
|
||||
|
||||
HB_EXTERN_END
|
||||
|
||||
#define hbqt_par_QString( n ) ( ( QString ) hb_parcx( n ) )
|
||||
#define hbqt_par_uchar( n ) ( ( uchar * ) hb_parcx( n ) )
|
||||
#define hbqt_par_QRgb( n ) ( hb_parnint( n ) )
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
HB_GARBAGE_FUNC( Q_release )
|
||||
static HB_GARBAGE_FUNC( Q_release )
|
||||
{
|
||||
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
|
||||
|
||||
@@ -70,7 +70,7 @@ HB_GARBAGE_FUNC( Q_release )
|
||||
p->func( p );
|
||||
}
|
||||
|
||||
const HB_GC_FUNCS QT_gcFuncs =
|
||||
static const HB_GC_FUNCS QT_gcFuncs =
|
||||
{
|
||||
Q_release,
|
||||
hb_gcDummyMark
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "hbqt.h"
|
||||
|
||||
HB_EXTERN_BEGIN
|
||||
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerActionEditorInterface );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormEditorInterface );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowCursorInterface );
|
||||
@@ -31,6 +33,8 @@ extern HB_EXPORT void * hbqt_gcAllocate_QDesignerObjectInspectorInterface( void
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QDesignerPropertyEditorInterface( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QDesignerWidgetBoxInterface( void * pObj, bool bNew );
|
||||
|
||||
HB_EXTERN_END
|
||||
|
||||
#define hbqt_par_QDesignerActionEditorInterface( n ) ( ( QDesignerActionEditorInterface * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QDesignerFormEditorInterface( n ) ( ( QDesignerFormEditorInterface * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QDesignerFormWindowCursorInterface( n ) ( ( QDesignerFormWindowCursorInterface * ) hbqt_gcpointer( n ) )
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "hbqt.h"
|
||||
|
||||
HB_EXTERN_BEGIN
|
||||
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQAbstractItemModel );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQMainWindow );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQPlainTextEdit );
|
||||
@@ -463,6 +465,8 @@ extern HB_EXPORT void * hbqt_gcAllocate_QWizard( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QWizardPage( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QUiLoader( void * pObj, bool bNew );
|
||||
|
||||
HB_EXTERN_END
|
||||
|
||||
#define hbqt_par_HBQAbstractItemModel( n ) ( ( HBQAbstractItemModel * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_HBQMainWindow( n ) ( ( HBQMainWindow * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_HBQPlainTextEdit( n ) ( ( HBQPlainTextEdit * ) hbqt_gcpointer( n ) )
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "hbqt.h"
|
||||
|
||||
HB_EXTERN_BEGIN
|
||||
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFtp );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHttp );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHttpHeader );
|
||||
@@ -27,6 +29,8 @@ extern HB_EXPORT void * hbqt_gcAllocate_QHttpRequestHeader( void * pObj, bool bN
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QHttpResponseHeader( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QNetworkRequest( void * pObj, bool bNew );
|
||||
|
||||
HB_EXTERN_END
|
||||
|
||||
#define hbqt_par_QFtp( n ) ( ( QFtp * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QHttp( n ) ( ( QHttp * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QHttpHeader( n ) ( ( QHttpHeader * ) hbqt_gcpointer( n ) )
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "hbqt.h"
|
||||
|
||||
HB_EXTERN_BEGIN
|
||||
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebFrame );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistory );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistoryInterface );
|
||||
@@ -35,6 +37,8 @@ extern HB_EXPORT void * hbqt_gcAllocate_QWebSecurityOrigin( void * pObj, bool bN
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QWebSettings( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QWebView( void * pObj, bool bNew );
|
||||
|
||||
HB_EXTERN_END
|
||||
|
||||
#define hbqt_par_QWebFrame( n ) ( ( QWebFrame * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QWebHistory( n ) ( ( QWebHistory * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QWebHistoryInterface( n ) ( ( QWebHistoryInterface * ) hbqt_gcpointer( n ) )
|
||||
|
||||
@@ -1800,6 +1800,8 @@ STATIC FUNCTION Build_HeaderFile( cpp_, cPathOut, cProFile )
|
||||
aadd( txt_, "" )
|
||||
aadd( txt_, '#include "hbqt.h"' )
|
||||
aadd( txt_, "" )
|
||||
aadd( txt_, "HB_EXTERN_BEGIN" )
|
||||
aadd( txt_, "" )
|
||||
|
||||
FOR EACH s IN cpp_
|
||||
aadd( txt_, "extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_" + s + " );" )
|
||||
@@ -1813,6 +1815,9 @@ STATIC FUNCTION Build_HeaderFile( cpp_, cPathOut, cProFile )
|
||||
aadd( txt_, "" )
|
||||
ENDIF
|
||||
|
||||
aadd( txt_, "HB_EXTERN_END" )
|
||||
aadd( txt_, "" )
|
||||
|
||||
FOR EACH s IN cpp_
|
||||
IF s == "QList" /* TOFIX: Ugly hack */
|
||||
tmp := s + "< void * >"
|
||||
|
||||
Reference in New Issue
Block a user