2010-11-03 00:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbqt/qtgui/hbqt_init.cpp
    ! Fixed missing HB_EXTERN_BEGIN/END from around a new internal function.

  * contrib/hbqt/utils/hbqtgen.prg
    ! Fixed to not spit HB_TR_ALWAYS msgs while running.
    % Deleted unnecessary HB_SYMBOL_UNUSED in generated code.
    % Minor optimization in generate code.
    ; TODO: Optimize code generated for GC desctructor.

  * contrib/hbqt/*/g/*
    * Regenerated.

  * utils/hbmk2/hbmk2.prg
    + Will now accepts macros in Harbour options.
      (lightly tested)
This commit is contained in:
Viktor Szakats
2010-11-02 23:20:32 +00:00
parent 723b578eb5
commit 5b83056a40
220 changed files with 165 additions and 364 deletions

View File

@@ -16,6 +16,23 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-11-03 00:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qtgui/hbqt_init.cpp
! Fixed missing HB_EXTERN_BEGIN/END from around a new internal function.
* contrib/hbqt/utils/hbqtgen.prg
! Fixed to not spit HB_TR_ALWAYS msgs while running.
% Deleted unnecessary HB_SYMBOL_UNUSED in generated code.
% Minor optimization in generate code.
; TODO: Optimize code generated for GC desctructor.
* contrib/hbqt/*/g/*
* Regenerated.
* utils/hbmk2/hbmk2.prg
+ Will now accepts macros in Harbour options.
(lightly tested)
2010-11-02 18:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/utils/hbqtgen.prg
% Optimized generated source code to be more compact.

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_HBQsciScintilla )
{
HBQsciScintilla * ph = NULL;
HBQT_GC_T_HBQsciScintilla * p = ( HBQT_GC_T_HBQsciScintilla * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
HBQsciScintilla * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -52,12 +52,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QsciAPIs )
{
QsciAPIs * ph = NULL;
HBQT_GC_T_QsciAPIs * p = ( HBQT_GC_T_QsciAPIs * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QsciAPIs * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -52,7 +52,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QsciAbstractAPIs )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -48,7 +48,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QsciCommand )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -48,7 +48,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QsciCommandSet )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -49,7 +49,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QsciLexer )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -61,12 +61,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QsciLexerCPP )
{
QsciLexerCPP * ph = NULL;
HBQT_GC_T_QsciLexerCPP * p = ( HBQT_GC_T_QsciLexerCPP * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QsciLexerCPP * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -61,12 +61,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QsciLexerFlagship )
{
QsciLexerFlagship * ph = NULL;
HBQT_GC_T_QsciLexerFlagship * p = ( HBQT_GC_T_QsciLexerFlagship * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QsciLexerFlagship * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -89,12 +89,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QsciScintilla )
{
QsciScintilla * ph = NULL;
HBQT_GC_T_QsciScintilla * p = ( HBQT_GC_T_QsciScintilla * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QsciScintilla * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -52,12 +52,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QsciStyle )
{
QsciStyle * ph = NULL;
HBQT_GC_T_QsciStyle * p = ( HBQT_GC_T_QsciStyle * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QsciStyle * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -49,12 +49,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_HBQEvents )
{
HBQEvents * ph = NULL;
HBQT_GC_T_HBQEvents * p = ( HBQT_GC_T_HBQEvents * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
HBQEvents * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_HBQSlots )
{
HBQSlots * ph = NULL;
HBQT_GC_T_HBQSlots * p = ( HBQT_GC_T_HBQSlots * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
HBQSlots * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -60,7 +60,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemModel )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractListModel )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractTableModel )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -52,12 +52,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QBuffer )
{
QBuffer * ph = NULL;
HBQT_GC_T_QBuffer * p = ( HBQT_GC_T_QBuffer * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QBuffer * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -72,7 +72,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QChar )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -57,7 +57,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QCoreApplication )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -52,12 +52,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QEventLoop )
{
QEventLoop * ph = NULL;
HBQT_GC_T_QEventLoop * p = ( HBQT_GC_T_QEventLoop * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QEventLoop * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -65,12 +65,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QFile )
{
QFile * ph = NULL;
HBQT_GC_T_QFile * p = ( HBQT_GC_T_QFile * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QFile * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -53,7 +53,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QIODevice )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QMetaClassInfo )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QMetaEnum )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -55,7 +55,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QMetaObject )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QMetaProperty )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -58,7 +58,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QMetaType )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -50,12 +50,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QMimeData )
{
QMimeData * ph = NULL;
HBQT_GC_T_QMimeData * p = ( HBQT_GC_T_QMimeData * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QMimeData * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -63,12 +63,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QObject )
{
QObject * ph = NULL;
HBQT_GC_T_QObject * p = ( HBQT_GC_T_QObject * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QObject * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -62,12 +62,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QProcess )
{
QProcess * ph = NULL;
HBQT_GC_T_QProcess * p = ( HBQT_GC_T_QProcess * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QProcess * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -61,12 +61,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QSettings )
{
QSettings * ph = NULL;
HBQT_GC_T_QSettings * p = ( HBQT_GC_T_QSettings * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QSettings * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -52,12 +52,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QSignalMapper )
{
QSignalMapper * ph = NULL;
HBQT_GC_T_QSignalMapper * p = ( HBQT_GC_T_QSignalMapper * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QSignalMapper * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -57,7 +57,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QTextCodec )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -54,12 +54,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QThread )
{
QThread * ph = NULL;
HBQT_GC_T_QThread * p = ( HBQT_GC_T_QThread * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QThread * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -53,12 +53,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QTimeLine )
{
QTimeLine * ph = NULL;
HBQT_GC_T_QTimeLine * p = ( HBQT_GC_T_QTimeLine * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QTimeLine * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -47,12 +47,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QTimer )
{
QTimer * ph = NULL;
HBQT_GC_T_QTimer * p = ( HBQT_GC_T_QTimer * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QTimer * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -50,12 +50,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QTranslator )
{
QTranslator * ph = NULL;
HBQT_GC_T_QTranslator * p = ( HBQT_GC_T_QTranslator * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QTranslator * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -51,7 +51,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesignerActionEditorInterface )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -55,12 +55,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormEditorInterface )
{
QDesignerFormEditorInterface * ph = NULL;
HBQT_GC_T_QDesignerFormEditorInterface * p = ( HBQT_GC_T_QDesignerFormEditorInterface * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDesignerFormEditorInterface * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -55,7 +55,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowCursorInterface )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -62,7 +62,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowInterface )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -51,7 +51,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesignerFormWindowManagerInterface )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -51,7 +51,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesignerObjectInspectorInterface )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -51,7 +51,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesignerPropertyEditorInterface )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -51,7 +51,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesignerWidgetBoxInterface )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -49,12 +49,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_HBQAbstractItemModel )
{
HBQAbstractItemModel * ph = NULL;
HBQT_GC_T_HBQAbstractItemModel * p = ( HBQT_GC_T_HBQAbstractItemModel * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
HBQAbstractItemModel * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -53,12 +53,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_HBQGraphicsScene )
{
HBQGraphicsScene * ph = NULL;
HBQT_GC_T_HBQGraphicsScene * p = ( HBQT_GC_T_HBQGraphicsScene * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
HBQGraphicsScene * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -50,12 +50,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_HBQPlainTextEdit )
{
HBQPlainTextEdit * ph = NULL;
HBQT_GC_T_HBQPlainTextEdit * p = ( HBQT_GC_T_HBQPlainTextEdit * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
HBQPlainTextEdit * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_HBQSyntaxHighlighter )
{
HBQSyntaxHighlighter * ph = NULL;
HBQT_GC_T_HBQSyntaxHighlighter * p = ( HBQT_GC_T_HBQSyntaxHighlighter * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
HBQSyntaxHighlighter * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -50,12 +50,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_HBQTableView )
{
HBQTableView * ph = NULL;
HBQT_GC_T_HBQTableView * p = ( HBQT_GC_T_HBQTableView * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
HBQTableView * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -48,7 +48,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractButton )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -50,7 +50,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractGraphicsShapeItem )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -55,7 +55,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemDelegate )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -58,7 +58,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemView )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -56,7 +56,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractPrintDialog )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractProxyModel )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -52,7 +52,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractScrollArea )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -52,7 +52,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractSlider )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -60,7 +60,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractSpinBox )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -52,7 +52,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractTextDocumentLayout )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -62,12 +62,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QAction )
{
QAction * ph = NULL;
HBQT_GC_T_QAction * p = ( HBQT_GC_T_QAction * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QAction * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -47,12 +47,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QActionGroup )
{
QActionGroup * ph = NULL;
HBQT_GC_T_QActionGroup * p = ( HBQT_GC_T_QActionGroup * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QActionGroup * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -99,7 +99,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QApplication )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -52,12 +52,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QBoxLayout )
{
QBoxLayout * ph = NULL;
HBQT_GC_T_QBoxLayout * p = ( HBQT_GC_T_QBoxLayout * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QBoxLayout * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QButtonGroup )
{
QButtonGroup * ph = NULL;
HBQT_GC_T_QButtonGroup * p = ( HBQT_GC_T_QButtonGroup * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QButtonGroup * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -57,12 +57,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QCalendarWidget )
{
QCalendarWidget * ph = NULL;
HBQT_GC_T_QCalendarWidget * p = ( HBQT_GC_T_QCalendarWidget * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QCalendarWidget * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -49,12 +49,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QCheckBox )
{
QCheckBox * ph = NULL;
HBQT_GC_T_QCheckBox * p = ( HBQT_GC_T_QCheckBox * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QCheckBox * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -59,7 +59,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QClipboard )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -57,12 +57,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QColorDialog )
{
QColorDialog * ph = NULL;
HBQT_GC_T_QColorDialog * p = ( HBQT_GC_T_QColorDialog * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QColorDialog * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -53,12 +53,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QComboBox )
{
QComboBox * ph = NULL;
HBQT_GC_T_QComboBox * p = ( HBQT_GC_T_QComboBox * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QComboBox * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -49,12 +49,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QCommandLinkButton )
{
QCommandLinkButton * ph = NULL;
HBQT_GC_T_QCommandLinkButton * p = ( HBQT_GC_T_QCommandLinkButton * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QCommandLinkButton * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -47,12 +47,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QCommonStyle )
{
QCommonStyle * ph = NULL;
HBQT_GC_T_QCommonStyle * p = ( HBQT_GC_T_QCommonStyle * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QCommonStyle * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -54,12 +54,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QCompleter )
{
QCompleter * ph = NULL;
HBQT_GC_T_QCompleter * p = ( HBQT_GC_T_QCompleter * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QCompleter * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDateEdit )
{
QDateEdit * ph = NULL;
HBQT_GC_T_QDateEdit * p = ( HBQT_GC_T_QDateEdit * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDateEdit * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -55,12 +55,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDateTimeEdit )
{
QDateTimeEdit * ph = NULL;
HBQT_GC_T_QDateTimeEdit * p = ( HBQT_GC_T_QDateTimeEdit * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDateTimeEdit * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -52,7 +52,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesktopServices )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDesktopWidget )
{
QDesktopWidget * ph = NULL;
HBQT_GC_T_QDesktopWidget * p = ( HBQT_GC_T_QDesktopWidget * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDesktopWidget * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDial )
{
QDial * ph = NULL;
HBQT_GC_T_QDial * p = ( HBQT_GC_T_QDial * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDial * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -52,12 +52,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDialog )
{
QDialog * ph = NULL;
HBQT_GC_T_QDialog * p = ( HBQT_GC_T_QDialog * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDialog * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -57,12 +57,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDirModel )
{
QDirModel * ph = NULL;
HBQT_GC_T_QDirModel * p = ( HBQT_GC_T_QDirModel * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDirModel * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -54,12 +54,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDockWidget )
{
QDockWidget * ph = NULL;
HBQT_GC_T_QDockWidget * p = ( HBQT_GC_T_QDockWidget * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDockWidget * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDoubleSpinBox )
{
QDoubleSpinBox * ph = NULL;
HBQT_GC_T_QDoubleSpinBox * p = ( HBQT_GC_T_QDoubleSpinBox * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDoubleSpinBox * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -57,12 +57,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDoubleValidator )
{
QDoubleValidator * ph = NULL;
HBQT_GC_T_QDoubleValidator * p = ( HBQT_GC_T_QDoubleValidator * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDoubleValidator * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -50,12 +50,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDrag )
{
QDrag * ph = NULL;
HBQT_GC_T_QDrag * p = ( HBQT_GC_T_QDrag * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QDrag * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDragEnterEvent )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDragLeaveEvent )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -48,7 +48,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDragMoveEvent )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QDropEvent )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QErrorMessage )
{
QErrorMessage * ph = NULL;
HBQT_GC_T_QErrorMessage * p = ( HBQT_GC_T_QErrorMessage * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QErrorMessage * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -68,12 +68,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QFileDialog )
{
QFileDialog * ph = NULL;
HBQT_GC_T_QFileDialog * p = ( HBQT_GC_T_QFileDialog * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QFileDialog * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -58,12 +58,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QFileSystemModel )
{
QFileSystemModel * ph = NULL;
HBQT_GC_T_QFileSystemModel * p = ( HBQT_GC_T_QFileSystemModel * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QFileSystemModel * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -47,7 +47,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QFocusEvent )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -48,12 +48,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QFocusFrame )
{
QFocusFrame * ph = NULL;
HBQT_GC_T_QFocusFrame * p = ( HBQT_GC_T_QFocusFrame * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QFocusFrame * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -53,12 +53,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QFontComboBox )
{
QFontComboBox * ph = NULL;
HBQT_GC_T_QFontComboBox * p = ( HBQT_GC_T_QFontComboBox * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QFontComboBox * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -58,12 +58,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QFontDialog )
{
QFontDialog * ph = NULL;
HBQT_GC_T_QFontDialog * p = ( HBQT_GC_T_QFontDialog * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QFontDialog * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -60,12 +60,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QFormLayout )
{
QFormLayout * ph = NULL;
HBQT_GC_T_QFormLayout * p = ( HBQT_GC_T_QFormLayout * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QFormLayout * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -54,12 +54,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QFrame )
{
QFrame * ph = NULL;
HBQT_GC_T_QFrame * p = ( HBQT_GC_T_QFrame * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QFrame * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

View File

@@ -58,7 +58,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QGradient )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -56,7 +56,6 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItem )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )

View File

@@ -57,12 +57,11 @@ typedef struct
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItemAnimation )
{
QGraphicsItemAnimation * ph = NULL;
HBQT_GC_T_QGraphicsItemAnimation * p = ( HBQT_GC_T_QGraphicsItemAnimation * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
QGraphicsItemAnimation * ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();

Some files were not shown because too many files have changed in this diff Show More