2010-10-03 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/gtwvg/wvgwing.c
    ! Fixed after prev.
      Suggested by YD0DKL

  * contrib/hbqt/utils/hbqtgen.prg
    + Added TOFIXes to some generated code lines.
      (missing const, hb_retptr(), char vs uchar)

  * contrib/hbqt/utils/hbqtgen.prg
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtwebkit/qth/*.qth
  * contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
  * contrib/hbqt/qscintilla/qth/*.qth
  * contrib/hbqt/qtdesigner/qth/*.qth
    * Changed to use '__HB_RETPTRGC__' macro instead of using
      (valid function) 'hb_retptr()' as code generation marker.

  * contrib/hbqt/qtgui/g/*
  * contrib/hbqt/qtwebkit/g/*
  * contrib/hbqt/qtcore/g/*
  * contrib/hbqt/qscintilla/g/*
  * contrib/hbqt/qtdesigner/g/*
    * Regenerated.
    ; TOFIX: Why is commented code in .qth spilling into generated code?

  * contrib/hbqt/qtcore/g/filelist.hbm
  * contrib/hbqt/qtcore/g/hbqtcore.h
    * Regenerated after prev commit.
This commit is contained in:
Viktor Szakats
2010-10-03 09:26:33 +00:00
parent 02caeed65a
commit 50512a96f4
389 changed files with 665 additions and 662 deletions

View File

@@ -16,6 +16,37 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-10-03 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgwing.c
! Fixed after prev.
Suggested by YD0DKL
* contrib/hbqt/utils/hbqtgen.prg
+ Added TOFIXes to some generated code lines.
(missing const, hb_retptr(), char vs uchar)
* contrib/hbqt/utils/hbqtgen.prg
* contrib/hbqt/qtgui/qth/*.qth
* contrib/hbqt/qtwebkit/qth/*.qth
* contrib/hbqt/qtcore/qth/*.qth
* contrib/hbqt/qtnetwork/qth/*.qth
* contrib/hbqt/qscintilla/qth/*.qth
* contrib/hbqt/qtdesigner/qth/*.qth
* Changed to use '__HB_RETPTRGC__' macro instead of using
(valid function) 'hb_retptr()' as code generation marker.
* contrib/hbqt/qtgui/g/*
* contrib/hbqt/qtwebkit/g/*
* contrib/hbqt/qtcore/g/*
* contrib/hbqt/qscintilla/g/*
* contrib/hbqt/qtdesigner/g/*
* Regenerated.
; TOFIX: Why is commented code in .qth spilling into generated code?
* contrib/hbqt/qtcore/g/filelist.hbm
* contrib/hbqt/qtcore/g/hbqtcore.h
* Regenerated after prev commit.
2010-10-02 23:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/g/filelist.hbm
* contrib/hbqt/utils/qtcore.qtp
@@ -66,20 +97,20 @@
* contrib/hbxbp/xbptreeview.prg
* contrib/hbqt/utils/hbqtgen.prg
! Changed: massively to produce optimized and 0 fault
! Changed: massively to produce optimized and 0 fault
tolerant code.
* contrib/hbqt/qt*/*.cpp, *.prg, *.txt
* Re-generated, whichever fall into above changes.
This commit addresses a lot of issues:
1. Parameters checking is now mandatory. You have to supply
1. Parameters checking is now mandatory. You have to supply
the correct number of parameters. No defaults are assumed.
PLUS you need to supply correct type of parameter.
2. PRG class representation is changed.
Now you can get fairly good documentation from looking
at the class declaration. You will never have to refer
Now you can get fairly good documentation from looking
at the class declaration. You will never have to refer
the method body which has no meaning as such.
Here is a snippet:
@@ -93,14 +124,14 @@
The methods with variable number and type of parameters
are shown beneth first call.
3. Accordingly, class_*.txt documentation is also updated.
3. Accordingly, class_*.txt documentation is also updated.
4. A method call now never accepts a pointer, only an
hbQT object. This fixes one/half of the issue - one sided.
TODO: fix sending raw pointers to PRG code from C++ code.
:-)) hbIDE is up and running with all its glory, no GPFs.
Some regression would be possible but you will have
Some regression would be possible but you will have
RTE popping up, so easily fixable.
2010-10-02 11:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

View File

@@ -74,7 +74,7 @@
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
#if defined( __BORLANDC__ ) && ( __BORLANDC__ < 1552 )
#if defined( __BORLANDC__ )
# if !defined( NONAMELESSUNION )
# define NONAMELESSUNION
# endif
@@ -100,6 +100,10 @@
#include <windowsx.h>
#if defined( __BORLANDC__ ) && ( __BORLANDC__ >= 1552 )
# undef NONAMELESSUNION
#endif
#if defined( NONAMELESSUNION )
# define HB_WIN_V_UNION( x, z ) ((x).DUMMYUNIONNAME.z)
#else

View File

@@ -154,7 +154,7 @@ void * hbqt_gcAllocate_QsciCommandSet( void * pObj, bool bNew )
HB_FUNC( QT_QSCICOMMANDSET )
{
//hb_retptr( new QsciCommandSet() );
//__HB_RETPTRGC__( new QsciCommandSet() );
}
/*

View File

@@ -72,7 +72,7 @@ Folder = qscintilla
*/
HB_FUNC( QT_HBQSCISCINTILLA )
{
hb_retptr( new HBQsciScintilla( hbqt_par_QWidget( 1 ) ) );
__HB_RETPTRGC__( new HBQsciScintilla( hbqt_par_QWidget( 1 ) ) );
}
</CODE>

View File

@@ -79,7 +79,7 @@ Folder = hbqscintilla
*/
HB_FUNC( QT_QSCIAPIS )
{
hb_retptr( new QsciAPIs( hbqt_par_QsciLexer( 1 ) ) );
__HB_RETPTRGC__( new QsciAPIs( hbqt_par_QsciLexer( 1 ) ) );
}
</CODE>

View File

@@ -78,7 +78,7 @@ Folder = hbqscintilla
*/
HB_FUNC( QT_QSCICOMMANDSET )
{
//hb_retptr( new QsciCommandSet() );
//__HB_RETPTRGC__( new QsciCommandSet() );
}
</CODE>

View File

@@ -81,11 +81,11 @@ HB_FUNC( QT_QSCIDOCUMENT )
{
if( HB_ISPOINTER( 1 ) )
{
hb_retptr( new QsciDocument( *hbqt_par_QsciDocument( 1 ) ) );
__HB_RETPTRGC__( new QsciDocument( *hbqt_par_QsciDocument( 1 ) ) );
}
else
{
hb_retptr( new QsciDocument() );
__HB_RETPTRGC__( new QsciDocument() );
}
}
</CODE>

View File

@@ -81,19 +81,19 @@ HB_FUNC( QT_QSCILEXERCPP )
{
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( new QsciLexerCPP( hbqt_par_QObject( 1 ) ) );
__HB_RETPTRGC__( new QsciLexerCPP( hbqt_par_QObject( 1 ) ) );
}
else if( hb_pcount() == 1 && HB_ISLOG( 1 ) )
{
hb_retptr( new QsciLexerCPP( 0, hb_parl( 1 ) ) );
__HB_RETPTRGC__( new QsciLexerCPP( 0, hb_parl( 1 ) ) );
}
else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISLOG( 2 ) )
{
hb_retptr( new QsciLexerCPP( hbqt_par_QObject( 1 ), hb_parl( 2 ) ) );
__HB_RETPTRGC__( new QsciLexerCPP( hbqt_par_QObject( 1 ), hb_parl( 2 ) ) );
}
else
{
hb_retptr( new QsciLexerCPP() );
__HB_RETPTRGC__( new QsciLexerCPP() );
}
}
</CODE>

View File

@@ -81,19 +81,19 @@ HB_FUNC( QT_QSCILEXERFLAGSHIP )
{
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( new QsciLexerFlagship( hbqt_par_QObject( 1 ) ) );
__HB_RETPTRGC__( new QsciLexerFlagship( hbqt_par_QObject( 1 ) ) );
}
else if( hb_pcount() == 1 && HB_ISLOG( 1 ) )
{
hb_retptr( new QsciLexerFlagship( 0, hb_parl( 1 ) ) );
__HB_RETPTRGC__( new QsciLexerFlagship( 0, hb_parl( 1 ) ) );
}
else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISLOG( 2 ) )
{
hb_retptr( new QsciLexerFlagship( hbqt_par_QObject( 1 ), hb_parl( 2 ) ) );
__HB_RETPTRGC__( new QsciLexerFlagship( hbqt_par_QObject( 1 ), hb_parl( 2 ) ) );
}
else
{
hb_retptr( new QsciLexerFlagship() );
__HB_RETPTRGC__( new QsciLexerFlagship() );
}
}
</CODE>

View File

@@ -75,11 +75,11 @@ HB_FUNC( QT_QSCISCINTILLA )
{
if( HB_ISPOINTER( 1 ) )
{
hb_retptr( new QsciScintilla( hbqt_par_QWidget( 1 ) ) );
__HB_RETPTRGC__( new QsciScintilla( hbqt_par_QWidget( 1 ) ) );
}
else
{
hb_retptr( new QsciScintilla() );
__HB_RETPTRGC__( new QsciScintilla() );
}
}
</CODE>

View File

@@ -80,15 +80,15 @@ HB_FUNC( QT_QSCISTYLE )
{
if( HB_ISNUMERIC( 1 ) )
{
hb_retptr( new QsciStyle( hb_parni( 1 ) ) );
__HB_RETPTRGC__( new QsciStyle( hb_parni( 1 ) ) );
}
else if( hb_pcount() >= 5 )
{
hb_retptr( new QsciStyle( hb_parni( 1 ), hbqt_par_QString( 2 ), *hbqt_par_QColor( 3 ), *hbqt_par_QColor( 4 ), * hbqt_par_QFont( 5 ), HB_ISLOG( 6 ) ? hb_parl( 6 ) : false ) );
__HB_RETPTRGC__( new QsciStyle( hb_parni( 1 ), hbqt_par_QString( 2 ), *hbqt_par_QColor( 3 ), *hbqt_par_QColor( 4 ), * hbqt_par_QFont( 5 ), HB_ISLOG( 6 ) ? hb_parl( 6 ) : false ) );
}
else
{
hb_retptr( new QsciStyle() );
__HB_RETPTRGC__( new QsciStyle() );
}
}
</CODE>

View File

@@ -81,11 +81,11 @@ HB_FUNC( QT_QSCISTYLEDTEXT )
{
if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) )
{
hb_retptr( new QsciStyledText( hbqt_par_QString( 1 ), hb_parni( 2 ) ) );
__HB_RETPTRGC__( new QsciStyledText( hbqt_par_QString( 1 ), hb_parni( 2 ) ) );
}
else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) )
{
hb_retptr( new QsciStyledText( hbqt_par_QString( 1 ), *hbqt_par_QsciStyle( 2 ) ) );
__HB_RETPTRGC__( new QsciStyledText( hbqt_par_QString( 1 ), *hbqt_par_QsciStyle( 2 ) ) );
}
}
</CODE>

View File

@@ -153,7 +153,7 @@ void * hbqt_gcAllocate_QAbstractListModel( void * pObj, bool bNew )
HB_FUNC( QT_QABSTRACTLISTMODEL )
{
//hb_retptr( ( QAbstractListModel* ) new QAbstractListModel() );
//__HB_RETPTRGC__( ( QAbstractListModel* ) new QAbstractListModel() );
}
/*

View File

@@ -153,7 +153,7 @@ void * hbqt_gcAllocate_QAbstractTableModel( void * pObj, bool bNew )
HB_FUNC( QT_QABSTRACTTABLEMODEL )
{
// hb_retptr( ( QAbstractTableModel * ) new QAbstractTableModel() );
// __HB_RETPTRGC__( ( QAbstractTableModel * ) new QAbstractTableModel() );
}
/*

View File

@@ -161,7 +161,7 @@ HB_FUNC( QT_QIODEVICE )
{
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
// hb_retptr( new QIODevice( hbqt_par_QObject( 1 ) ) );
// __HB_RETPTRGC__( new QIODevice( hbqt_par_QObject( 1 ) ) );
}
}

View File

@@ -163,7 +163,7 @@ void * hbqt_gcAllocate_QTextCodec( void * pObj, bool bNew )
HB_FUNC( QT_QTEXTCODEC )
{
//hb_retptr( ( QTextCodec* ) new QTextCodec() );
//__HB_RETPTRGC__( ( QTextCodec* ) new QTextCodec() );
}
/*

View File

@@ -35,7 +35,6 @@ QLine.cpp
QLineF.cpp
QList.cpp
QLocale.cpp
QMimeData.cpp
QModelIndex.cpp
QObject.cpp
QPoint.cpp
@@ -90,7 +89,6 @@ TQLine.prg
TQLineF.prg
TQList.prg
TQLocale.prg
TQMimeData.prg
TQModelIndex.prg
TQObject.prg
TQPoint.prg

View File

@@ -34,8 +34,6 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QEvent );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QEventLoop );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFile );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFileInfo );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGenericArgument );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGenericReturnArgument );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QIODevice );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLatin1Char );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLatin1String );
@@ -43,13 +41,6 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLine );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLineF );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QList );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QLocale );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaClassInfo );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaEnum );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaMethod );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaObject );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaProperty );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMetaType );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QMimeData );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QModelIndex );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QObject );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPoint );
@@ -97,8 +88,6 @@ extern HB_EXPORT void * hbqt_gcAllocate_QEvent( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QEventLoop( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QFile( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QFileInfo( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGenericArgument( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGenericReturnArgument( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QIODevice( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QLatin1Char( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QLatin1String( void * pObj, bool bNew );
@@ -106,13 +95,6 @@ extern HB_EXPORT void * hbqt_gcAllocate_QLine( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QLineF( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QList( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QLocale( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QMetaClassInfo( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QMetaEnum( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QMetaMethod( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QMetaObject( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QMetaProperty( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QMetaType( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QMimeData( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QModelIndex( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QObject( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QPoint( void * pObj, bool bNew );
@@ -162,8 +144,6 @@ HB_EXTERN_END
#define hbqt_par_QEventLoop( n ) ( ( QEventLoop * ) hbqt_gcpointer( n ) )
#define hbqt_par_QFile( n ) ( ( QFile * ) hbqt_gcpointer( n ) )
#define hbqt_par_QFileInfo( n ) ( ( QFileInfo * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGenericArgument( n ) ( ( QGenericArgument * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGenericReturnArgument( n ) ( ( QGenericReturnArgument * ) hbqt_gcpointer( n ) )
#define hbqt_par_QIODevice( n ) ( ( QIODevice * ) hbqt_gcpointer( n ) )
#define hbqt_par_QLatin1Char( n ) ( ( QLatin1Char * ) hbqt_gcpointer( n ) )
#define hbqt_par_QLatin1String( n ) ( ( QLatin1String * ) hbqt_gcpointer( n ) )
@@ -171,13 +151,6 @@ HB_EXTERN_END
#define hbqt_par_QLineF( n ) ( ( QLineF * ) hbqt_gcpointer( n ) )
#define hbqt_par_QList( n ) ( ( QList< void * > * ) hbqt_gcpointer( n ) )
#define hbqt_par_QLocale( n ) ( ( QLocale * ) hbqt_gcpointer( n ) )
#define hbqt_par_QMetaClassInfo( n ) ( ( QMetaClassInfo * ) hbqt_gcpointer( n ) )
#define hbqt_par_QMetaEnum( n ) ( ( QMetaEnum * ) hbqt_gcpointer( n ) )
#define hbqt_par_QMetaMethod( n ) ( ( QMetaMethod * ) hbqt_gcpointer( n ) )
#define hbqt_par_QMetaObject( n ) ( ( QMetaObject * ) hbqt_gcpointer( n ) )
#define hbqt_par_QMetaProperty( n ) ( ( QMetaProperty * ) hbqt_gcpointer( n ) )
#define hbqt_par_QMetaType( n ) ( ( QMetaType * ) hbqt_gcpointer( n ) )
#define hbqt_par_QMimeData( n ) ( ( QMimeData * ) hbqt_gcpointer( n ) )
#define hbqt_par_QModelIndex( n ) ( ( QModelIndex * ) hbqt_gcpointer( n ) )
#define hbqt_par_QObject( n ) ( ( QObject * ) hbqt_gcpointer( n ) )
#define hbqt_par_QPoint( n ) ( ( QPoint * ) hbqt_gcpointer( n ) )
@@ -225,8 +198,6 @@ HB_EXTERN_END
#define HBQT_TYPE_QEventLoop 0xA79E78BB
#define HBQT_TYPE_QFile 0x25776775
#define HBQT_TYPE_QFileInfo 0x51B82814
#define HBQT_TYPE_QGenericArgument 0x7ED89228
#define HBQT_TYPE_QGenericReturnArgument 0xFCA684A1
#define HBQT_TYPE_QIODevice 0xFFAF526C
#define HBQT_TYPE_QLatin1Char 0x6E622038
#define HBQT_TYPE_QLatin1String 0xB1999E84
@@ -234,13 +205,6 @@ HB_EXTERN_END
#define HBQT_TYPE_QLineF 0x24C33533
#define HBQT_TYPE_QList 0xED20A97D
#define HBQT_TYPE_QLocale 0x456691F0
#define HBQT_TYPE_QMetaClassInfo 0x33015F02
#define HBQT_TYPE_QMetaEnum 0x1440E706
#define HBQT_TYPE_QMetaMethod 0xA4A31239
#define HBQT_TYPE_QMetaObject 0x525783B5
#define HBQT_TYPE_QMetaProperty 0xD53EA8C3
#define HBQT_TYPE_QMetaType 0x96201E7E
#define HBQT_TYPE_QMimeData 0xA1F425D3
#define HBQT_TYPE_QModelIndex 0xA9E86353
#define HBQT_TYPE_QObject 0xAC4BFC84
#define HBQT_TYPE_QPoint 0x8AD48EA2

View File

@@ -79,7 +79,7 @@ New =
*/
HB_FUNC( QT_HBQEVENTS )
{
hb_retptr( new HBQEvents() );
__HB_RETPTRGC__( new HBQEvents() );
}
</CODE>

View File

@@ -78,7 +78,7 @@ New =
*/
HB_FUNC( QT_HBQSLOTS )
{
hb_retptr( new HBQSlots() );
__HB_RETPTRGC__( new HBQSlots() );
}
</CODE>

View File

@@ -88,15 +88,15 @@ HB_FUNC( QT_HBQSTRING )
{
if( hb_pcount() == 1 && HB_ISCHAR( 1 ) )
{
hb_retptr( new HBQString( hbqt_par_QString( 1 ) ) );
__HB_RETPTRGC__( new HBQString( hbqt_par_QString( 1 ) ) );
}
else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( new HBQString( ( const char * ) hb_parptr( 1 ) ) );
__HB_RETPTRGC__( new HBQString( ( const char * ) hb_parptr( 1 ) ) );
}
else
{
hb_retptr( new HBQString() );
__HB_RETPTRGC__( new HBQString() );
}
}
</CODE>

View File

@@ -72,11 +72,11 @@ HB_FUNC( QT_QABSTRACTEVENTDISPATCHER )
{
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( ( QAbstractEventDispatcher* ) new QAbstractEventDispatcher( hbqt_par_QObject( 1 ) ) );
__HB_RETPTRGC__( ( QAbstractEventDispatcher* ) new QAbstractEventDispatcher( hbqt_par_QObject( 1 ) ) );
}
else
{
hb_retptr( ( QAbstractEventDispatcher* ) new QAbstractEventDispatcher() );
__HB_RETPTRGC__( ( QAbstractEventDispatcher* ) new QAbstractEventDispatcher() );
}
}
</CODE>

View File

@@ -70,7 +70,7 @@ New =
*/
HB_FUNC( QT_QABSTRACTLISTMODEL )
{
//hb_retptr( ( QAbstractListModel* ) new QAbstractListModel() );
//__HB_RETPTRGC__( ( QAbstractListModel* ) new QAbstractListModel() );
}
</CODE>

View File

@@ -70,7 +70,7 @@ New =
*/
HB_FUNC( QT_QABSTRACTTABLEMODEL )
{
// hb_retptr( ( QAbstractTableModel * ) new QAbstractTableModel() );
// __HB_RETPTRGC__( ( QAbstractTableModel * ) new QAbstractTableModel() );
}
</CODE>

View File

@@ -71,7 +71,7 @@ New =
*/
HB_FUNC( QT_QBITARRAY )
{
hb_retptr( new QBitArray() );
__HB_RETPTRGC__( new QBitArray() );
}
</CODE>

View File

@@ -78,7 +78,7 @@ New =
*/
HB_FUNC( QT_QBUFFER )
{
hb_retptr( new QBuffer() );
__HB_RETPTRGC__( new QBuffer() );
}
</CODE>

View File

@@ -77,11 +77,11 @@ HB_FUNC( QT_QBYTEARRAY )
{
if( hb_pcount() == 1 && HB_ISCHAR( 1 ) )
{
hb_retptr( new QByteArray( hb_parc( 1 ) ) );
__HB_RETPTRGC__( new QByteArray( hb_parc( 1 ) ) );
}
else
{
hb_retptr( new QByteArray() );
__HB_RETPTRGC__( new QByteArray() );
}
}
</CODE>

View File

@@ -86,7 +86,7 @@ Destructor = no
*/
HB_FUNC( QT_QCHAR )
{
hb_retptr( new QChar() );
__HB_RETPTRGC__( new QChar() );
}
</CODE>

View File

@@ -74,7 +74,7 @@ Destructor =
*/
HB_FUNC( QT_QDATASTREAM )
{
hb_retptr( new QDataStream() );
__HB_RETPTRGC__( new QDataStream() );
}
</CODE>

View File

@@ -71,7 +71,7 @@ Destructor =
*/
HB_FUNC( QT_QDATE )
{
hb_retptr( new QDate() );
__HB_RETPTRGC__( new QDate() );
}
</CODE>

View File

@@ -74,7 +74,7 @@ New =
*/
HB_FUNC( QT_QDATETIME )
{
hb_retptr( ( QDateTime* ) new QDateTime() );
__HB_RETPTRGC__( ( QDateTime* ) new QDateTime() );
}
</CODE>

View File

@@ -74,7 +74,7 @@ New = pParent
*/
HB_FUNC( QT_QDIR )
{
hb_retptr( new QDir( hbqt_par_QString( 1 ) ) );
__HB_RETPTRGC__( new QDir( hbqt_par_QString( 1 ) ) );
}
</CODE>

View File

@@ -70,7 +70,7 @@ New = nType
*/
HB_FUNC( QT_QEVENT )
{
hb_retptr( ( QEvent* ) new QEvent( ( QEvent::Type ) hb_parni( 1 ) ) );
__HB_RETPTRGC__( ( QEvent* ) new QEvent( ( QEvent::Type ) hb_parni( 1 ) ) );
}
</CODE>

View File

@@ -70,7 +70,7 @@ New = pObject
*/
HB_FUNC( QT_QEVENTLOOP )
{
hb_retptr( new QEventLoop( hbqt_par_QObject( 1 ) ) );
__HB_RETPTRGC__( new QEventLoop( hbqt_par_QObject( 1 ) ) );
}
</CODE>

View File

@@ -75,7 +75,7 @@ HB_FUNC( QT_QFILE )
{
if( hb_pcount() == 1 && HB_ISCHAR( 1 ) )
{
hb_retptr( new QFile( hbqt_par_QString( 1 ) ) );
__HB_RETPTRGC__( new QFile( hbqt_par_QString( 1 ) ) );
}
}
</CODE>

View File

@@ -77,7 +77,7 @@ Destructor =
*/
HB_FUNC( QT_QFILEINFO )
{
hb_retptr( new QFileInfo() );
__HB_RETPTRGC__( new QFileInfo() );
}
</CODE>

View File

@@ -79,15 +79,15 @@ HB_FUNC( QT_QGENERICARGUMENT )
{
if( hb_pcount() == 1 && HB_ISCHAR( 1 ) )
{
hb_retptr( new QGenericArgument( hb_parc( 1 ), 0 ) );
__HB_RETPTRGC__( new QGenericArgument( hb_parc( 1 ), 0 ) );
}
else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) )
{
hb_retptr( new QGenericArgument( hb_parc( 1 ), hb_parptr( 2 ) ) );
__HB_RETPTRGC__( new QGenericArgument( hb_parc( 1 ), hb_parptr( 2 ) ) );
}
else
{
hb_retptr( new QGenericArgument() );
__HB_RETPTRGC__( new QGenericArgument() );
}
}
</CODE>

View File

@@ -79,15 +79,15 @@ HB_FUNC( QT_QGENERICRETURNARGUMENT )
{
if( hb_pcount() == 1 && HB_ISCHAR( 1 ) )
{
hb_retptr( new QGenericReturnArgument( hb_parc( 1 ), 0 ) );
__HB_RETPTRGC__( new QGenericReturnArgument( hb_parc( 1 ), 0 ) );
}
else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISPOINTER( 2 ) )
{
hb_retptr( new QGenericReturnArgument( hb_parc( 1 ), hb_parptr( 2 ) ) );
__HB_RETPTRGC__( new QGenericReturnArgument( hb_parc( 1 ), hb_parptr( 2 ) ) );
}
else
{
hb_retptr( new QGenericReturnArgument() );
__HB_RETPTRGC__( new QGenericReturnArgument() );
}
}
</CODE>

View File

@@ -73,7 +73,7 @@ HB_FUNC( QT_QIODEVICE )
{
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
// hb_retptr( new QIODevice( hbqt_par_QObject( 1 ) ) );
// __HB_RETPTRGC__( new QIODevice( hbqt_par_QObject( 1 ) ) );
}
}
</CODE>

View File

@@ -70,7 +70,7 @@ New =
*/
HB_FUNC( QT_QLATIN1CHAR )
{
hb_retptr( ( QLatin1Char* ) new QLatin1Char( *hb_parcx( 1 ) ) );
__HB_RETPTRGC__( ( QLatin1Char* ) new QLatin1Char( *hb_parcx( 1 ) ) );
}
</CODE>

View File

@@ -70,7 +70,7 @@ New =
*/
HB_FUNC( QT_QLATIN1STRING )
{
hb_retptr( ( QLatin1String* ) new QLatin1String( hb_parcx( 1 ) ) );
__HB_RETPTRGC__( ( QLatin1String* ) new QLatin1String( hb_parcx( 1 ) ) );
}
</CODE>

View File

@@ -81,19 +81,19 @@ HB_FUNC( QT_QLINE )
{
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( ( QLine* ) new QLine( *hbqt_par_QLine( 1 ) ) );
__HB_RETPTRGC__( ( QLine* ) new QLine( *hbqt_par_QLine( 1 ) ) );
}
else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) )
{
hb_retptr( ( QLine* ) new QLine( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) );
__HB_RETPTRGC__( ( QLine* ) new QLine( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) );
}
else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) )
{
hb_retptr( ( QLine* ) new QLine( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) );
__HB_RETPTRGC__( ( QLine* ) new QLine( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) );
}
else
{
hb_retptr( ( QLine* ) new QLine() );
__HB_RETPTRGC__( ( QLine* ) new QLine() );
}
}
</CODE>

View File

@@ -73,7 +73,7 @@ Destructor =
*/
HB_FUNC( QT_QLINEF )
{
hb_retptr( new QLineF() );
__HB_RETPTRGC__( new QLineF() );
}
</CODE>

View File

@@ -74,7 +74,7 @@ List = yes
HB_FUNC( QT_QLIST )
{
QList<void*>* list = NULL;
hb_retptr( ( QList<void*>* ) list );
__HB_RETPTRGC__( ( QList<void*>* ) list );
}
</CODE>

View File

@@ -73,7 +73,7 @@ Destructor =
*/
HB_FUNC( QT_QLOCALE )
{
hb_retptr( new QLocale() );
__HB_RETPTRGC__( new QLocale() );
}
</CODE>

View File

@@ -77,7 +77,7 @@ New =
*/
HB_FUNC( QT_QMETACLASSINFO )
{
// hb_retptr( new QMetaClassInfo() );
// __HB_RETPTRGC__( new QMetaClassInfo() );
}
</CODE>

View File

@@ -77,7 +77,7 @@ New =
*/
HB_FUNC( QT_QMETAENUM )
{
// hb_retptr( new QMetaEnum() );
// __HB_RETPTRGC__( new QMetaEnum() );
}
</CODE>

View File

@@ -77,7 +77,7 @@ New =
*/
HB_FUNC( QT_QMETAMETHOD )
{
hb_retptr( new QMetaMethod() );
__HB_RETPTRGC__( new QMetaMethod() );
}
</CODE>

View File

@@ -77,7 +77,7 @@ New =
*/
HB_FUNC( QT_QMETAOBJECT )
{
// hb_retptr( new QMetaObject() );
// __HB_RETPTRGC__( new QMetaObject() );
}
</CODE>

View File

@@ -77,7 +77,7 @@ New =
*/
HB_FUNC( QT_QMETAPROPERTY )
{
// hb_retptr( new QMetaProperty() );
// __HB_RETPTRGC__( new QMetaProperty() );
}
</CODE>

View File

@@ -77,7 +77,7 @@ New =
*/
HB_FUNC( QT_QMETATYPE )
{
// hb_retptr( new QMetaType() );
// __HB_RETPTRGC__( new QMetaType() );
}
</CODE>

View File

@@ -72,7 +72,7 @@ Destructor =
*/
HB_FUNC( QT_QMIMEDATA )
{
hb_retptr( new QMimeData() );
__HB_RETPTRGC__( new QMimeData() );
}
</CODE>

View File

@@ -72,7 +72,7 @@ New =
*/
HB_FUNC( QT_QMODELINDEX )
{
hb_retptr( new QModelIndex() );
__HB_RETPTRGC__( new QModelIndex() );
}
</CODE>

View File

@@ -69,7 +69,7 @@ Calls = QT_Qbject
*/
HB_FUNC( QT_QOBJECT )
{
hb_retptr( ( QObject* ) new QObject( hbqt_par_QObject( 1 ) ) );
__HB_RETPTRGC__( ( QObject* ) new QObject( hbqt_par_QObject( 1 ) ) );
}
</CODE>

View File

@@ -79,15 +79,15 @@ HB_FUNC( QT_QPOINT )
{
if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) )
{
hb_retptr( ( QPoint* ) new QPoint( hb_parni( 1 ), hb_parni( 2 ) ) );
__HB_RETPTRGC__( ( QPoint* ) new QPoint( hb_parni( 1 ), hb_parni( 2 ) ) );
}
else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( ( QPoint* ) new QPoint( *hbqt_par_QPoint( 1 ) ) );
__HB_RETPTRGC__( ( QPoint* ) new QPoint( *hbqt_par_QPoint( 1 ) ) );
}
else
{
hb_retptr( ( QPoint* ) new QPoint() );
__HB_RETPTRGC__( ( QPoint* ) new QPoint() );
}
}
</CODE>

View File

@@ -79,15 +79,15 @@ HB_FUNC( QT_QPOINTF )
{
if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) )
{
hb_retptr( ( QPointF* ) new QPointF( ( qreal ) hb_parnd( 1 ), ( qreal ) hb_parnd( 2 ) ) );
__HB_RETPTRGC__( ( QPointF* ) new QPointF( ( qreal ) hb_parnd( 1 ), ( qreal ) hb_parnd( 2 ) ) );
}
else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( ( QPointF* ) new QPointF( *hbqt_par_QPoint( 1 ) ) );
__HB_RETPTRGC__( ( QPointF* ) new QPointF( *hbqt_par_QPoint( 1 ) ) );
}
else
{
hb_retptr( ( QPointF* ) new QPointF() );
__HB_RETPTRGC__( ( QPointF* ) new QPointF() );
}
}
</CODE>

View File

@@ -72,11 +72,11 @@ HB_FUNC( QT_QPROCESS )
{
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( ( QProcess* ) new QProcess( hbqt_par_QObject( 1 ) ) );
__HB_RETPTRGC__( ( QProcess* ) new QProcess( hbqt_par_QObject( 1 ) ) );
}
else
{
hb_retptr( ( QProcess* ) new QProcess() );
__HB_RETPTRGC__( ( QProcess* ) new QProcess() );
}
}
</CODE>

View File

@@ -87,19 +87,19 @@ HB_FUNC( QT_QRECT )
{
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( ( QRect* ) new QRect( *hbqt_par_QRect( 1 ) ) );
__HB_RETPTRGC__( ( QRect* ) new QRect( *hbqt_par_QRect( 1 ) ) );
}
else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) )
{
hb_retptr( ( QRect* ) new QRect( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) );
__HB_RETPTRGC__( ( QRect* ) new QRect( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) );
}
else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) )
{
hb_retptr( ( QRect* ) new QRect( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) );
__HB_RETPTRGC__( ( QRect* ) new QRect( hb_parni( 1 ), hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ) ) );
}
else
{
hb_retptr( ( QRect* ) new QRect() );
__HB_RETPTRGC__( ( QRect* ) new QRect() );
}
}
</CODE>

View File

@@ -88,19 +88,19 @@ HB_FUNC( QT_QRECTF )
{
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( ( QRectF* ) new QRectF( *hbqt_par_QRectF( 1 ) ) );
__HB_RETPTRGC__( ( QRectF* ) new QRectF( *hbqt_par_QRectF( 1 ) ) );
}
else if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) )
{
hb_retptr( ( QRectF* ) new QRectF( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) );
__HB_RETPTRGC__( ( QRectF* ) new QRectF( *hbqt_par_QPoint( 1 ), *hbqt_par_QPoint( 2 ) ) );
}
else if( hb_pcount() == 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) )
{
hb_retptr( ( QRectF* ) new QRectF( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) );
__HB_RETPTRGC__( ( QRectF* ) new QRectF( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ) );
}
else
{
hb_retptr( ( QRectF* ) new QRectF() );
__HB_RETPTRGC__( ( QRectF* ) new QRectF() );
}
}
</CODE>

View File

@@ -73,7 +73,7 @@ Destructor =
*/
HB_FUNC( QT_QREGEXP )
{
hb_retptr( new QRegExp() );
__HB_RETPTRGC__( new QRegExp() );
}
</CODE>

View File

@@ -72,7 +72,7 @@ ClubMethods = no
*/
HB_FUNC( QT_QRESOURCE )
{
hb_retptr( ( QResource* ) new QResource() );
__HB_RETPTRGC__( ( QResource* ) new QResource() );
}
</CODE>

View File

@@ -76,15 +76,15 @@ HB_FUNC( QT_QSETTINGS )
{
if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) )
{
hb_retptr( new QSettings( hbqt_par_QString( 1 ), hbqt_par_QString( 2 ), 0 ) );
__HB_RETPTRGC__( new QSettings( hbqt_par_QString( 1 ), hbqt_par_QString( 2 ), 0 ) );
}
else if( hb_pcount() >= 2 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) )
{
hb_retptr( new QSettings( hbqt_par_QString( 1 ), ( QSettings::Format ) hb_parni( 2 ) ) );
__HB_RETPTRGC__( new QSettings( hbqt_par_QString( 1 ), ( QSettings::Format ) hb_parni( 2 ) ) );
}
else
{
hb_retptr( new QSettings() );
__HB_RETPTRGC__( new QSettings() );
}
}
</CODE>

View File

@@ -69,7 +69,7 @@ New = pParent
*/
HB_FUNC( QT_QSIGNALMAPPER )
{
hb_retptr( new QSignalMapper( hbqt_par_QObject( 1 ) ) );
__HB_RETPTRGC__( new QSignalMapper( hbqt_par_QObject( 1 ) ) );
}
</CODE>

View File

@@ -79,15 +79,15 @@ HB_FUNC( QT_QSIZE )
{
if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) )
{
hb_retptr( ( QSize* ) new QSize( hb_parni( 1 ), hb_parni( 2 ) ) );
__HB_RETPTRGC__( ( QSize* ) new QSize( hb_parni( 1 ), hb_parni( 2 ) ) );
}
else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( ( QSize* ) new QSize( *hbqt_par_QSize( 1 ) ) );
__HB_RETPTRGC__( ( QSize* ) new QSize( *hbqt_par_QSize( 1 ) ) );
}
else
{
hb_retptr( ( QSize* ) new QSize() );
__HB_RETPTRGC__( ( QSize* ) new QSize() );
}
}
</CODE>

View File

@@ -79,11 +79,11 @@ HB_FUNC( QT_QSIZEF )
{
if( hb_pcount() == 2 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) )
{
hb_retptr( ( QSizeF* ) new QSizeF( hb_parnd( 1 ), hb_parnd( 2 ) ) );
__HB_RETPTRGC__( ( QSizeF* ) new QSizeF( hb_parnd( 1 ), hb_parnd( 2 ) ) );
}
else
{
hb_retptr( ( QSizeF* ) new QSizeF() );
__HB_RETPTRGC__( ( QSizeF* ) new QSizeF() );
}
}
</CODE>

View File

@@ -73,7 +73,7 @@ New =
*/
HB_FUNC( QT_QSTRINGLIST )
{
hb_retptr( ( QStringList* ) new QStringList() );
__HB_RETPTRGC__( ( QStringList* ) new QStringList() );
}
</CODE>

View File

@@ -76,19 +76,19 @@ HB_FUNC( QT_QSTRINGREF )
{
if( hb_pcount() == 1 && HB_ISCHAR( 1 ) )
{
hb_retptr( new QStringRef( ( const QString *) hb_parcx( 1 ) ) );
__HB_RETPTRGC__( new QStringRef( ( const QString *) hb_parcx( 1 ) ) );
}
else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( new QStringRef( * hbqt_par_QStringRef( 1 ) ) );
__HB_RETPTRGC__( new QStringRef( * hbqt_par_QStringRef( 1 ) ) );
}
else if( hb_pcount() == 3 && HB_ISCHAR( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) )
{
hb_retptr( new QStringRef( ( const QString *) hb_parcx( 1 ), hb_parni( 2 ), hb_parni( 3 ) ) );
__HB_RETPTRGC__( new QStringRef( ( const QString *) hb_parcx( 1 ), hb_parni( 2 ), hb_parni( 3 ) ) );
}
else
{
hb_retptr( new QStringRef() );
__HB_RETPTRGC__( new QStringRef() );
}
}
</CODE>

View File

@@ -74,7 +74,7 @@ New =
*/
HB_FUNC( QT_QTEXTBOUNDARYFINDER )
{
hb_retptr( ( QTextBoundaryFinder* ) new QTextBoundaryFinder() );
__HB_RETPTRGC__( ( QTextBoundaryFinder* ) new QTextBoundaryFinder() );
}
</CODE>

View File

@@ -72,7 +72,7 @@ Destructor = no
*/
HB_FUNC( QT_QTEXTCODEC )
{
//hb_retptr( ( QTextCodec* ) new QTextCodec() );
//__HB_RETPTRGC__( ( QTextCodec* ) new QTextCodec() );
}
</CODE>

View File

@@ -71,7 +71,7 @@ New = pTextCodec
*/
HB_FUNC( QT_QTEXTDECODER )
{
hb_retptr( ( QTextDecoder* ) new QTextDecoder( hbqt_par_QTextCodec( 1 ) ) );
__HB_RETPTRGC__( ( QTextDecoder* ) new QTextDecoder( hbqt_par_QTextCodec( 1 ) ) );
}
</CODE>

View File

@@ -71,7 +71,7 @@ New =
*/
HB_FUNC( QT_QTEXTENCODER )
{
hb_retptr( ( QTextEncoder* ) new QTextEncoder( hbqt_par_QTextCodec( 1 ) ) );
__HB_RETPTRGC__( ( QTextEncoder* ) new QTextEncoder( hbqt_par_QTextCodec( 1 ) ) );
}
</CODE>

View File

@@ -75,7 +75,7 @@ New = cText, nIOMode
*/
HB_FUNC( QT_QTEXTSTREAM )
{
hb_retptr( new QTextStream( hb_parcx( 1 ), ( QIODevice::OpenMode ) ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : QIODevice::ReadWrite ) ) );
__HB_RETPTRGC__( new QTextStream( hb_parcx( 1 ), ( QIODevice::OpenMode ) ( HB_ISNUM( 2 ) ? hb_parni( 2 ) : QIODevice::ReadWrite ) ) );
}
</CODE>

View File

@@ -71,7 +71,7 @@ Destructor =
*/
HB_FUNC( QT_QTHREAD )
{
hb_retptr( new QThread() );
__HB_RETPTRGC__( new QThread() );
}
</CODE>

View File

@@ -71,7 +71,7 @@ Destructor =
*/
HB_FUNC( QT_QTIME )
{
hb_retptr( new QTime() );
__HB_RETPTRGC__( new QTime() );
}
</CODE>

View File

@@ -71,7 +71,7 @@ New =
*/
HB_FUNC( QT_QTIMELINE )
{
hb_retptr( new QTimeLine() );
__HB_RETPTRGC__( new QTimeLine() );
}
</CODE>

View File

@@ -69,7 +69,7 @@ New = pParent
*/
HB_FUNC( QT_QTIMER )
{
hb_retptr( new QTimer( hbqt_par_QObject( 1 ) ) );
__HB_RETPTRGC__( new QTimer( hbqt_par_QObject( 1 ) ) );
}
</CODE>

View File

@@ -71,7 +71,7 @@ Destructor =
*/
HB_FUNC( QT_QTRANSLATOR )
{
hb_retptr( new QTranslator() );
__HB_RETPTRGC__( new QTranslator() );
}
</CODE>

View File

@@ -76,15 +76,15 @@ HB_FUNC( QT_QURL )
{
if( hb_pcount() == 1 && HB_ISCHAR( 1 ) )
{
hb_retptr( new QUrl( hbqt_par_QString( 1 ) ) );
__HB_RETPTRGC__( new QUrl( hbqt_par_QString( 1 ) ) );
}
else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
{
hb_retptr( new QUrl( *hbqt_par_QUrl( 1 ) ) );
__HB_RETPTRGC__( new QUrl( *hbqt_par_QUrl( 1 ) ) );
}
else
{
hb_retptr( new QUrl() );
__HB_RETPTRGC__( new QUrl() );
}
}
/*

View File

@@ -112,7 +112,7 @@ QVariant ( const QRegExp & regExp )
*/
HB_FUNC( QT_QVARIANT )
{
hb_retptr( ( QVariant* ) new QVariant() );
__HB_RETPTRGC__( ( QVariant* ) new QVariant() );
}
</CODE>

View File

@@ -157,7 +157,7 @@ void * hbqt_gcAllocate_QDesignerActionEditorInterface( void * pObj, bool bNew )
HB_FUNC( QT_QDESIGNERACTIONEDITORINTERFACE )
{
//hb_retptr( new QDesignerActionEditorInterface() );
//__HB_RETPTRGC__( new QDesignerActionEditorInterface() );
}
/*

View File

@@ -161,7 +161,7 @@ void * hbqt_gcAllocate_QDesignerFormWindowCursorInterface( void * pObj, bool bNe
HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE )
{
//hb_retptr( new QDesignerFormWindowCursorInterface() );
//__HB_RETPTRGC__( new QDesignerFormWindowCursorInterface() );
}
/*

View File

@@ -168,7 +168,7 @@ void * hbqt_gcAllocate_QDesignerFormWindowInterface( void * pObj, bool bNew )
HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE )
{
//hb_retptr( new QDesignerFormWindowInterface() );
//__HB_RETPTRGC__( new QDesignerFormWindowInterface() );
}
/*

View File

@@ -157,7 +157,7 @@ void * hbqt_gcAllocate_QDesignerFormWindowManagerInterface( void * pObj, bool bN
HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE )
{
//hb_retptr( new QDesignerFormWindowManagerInterface() );
//__HB_RETPTRGC__( new QDesignerFormWindowManagerInterface() );
}
/*

View File

@@ -157,7 +157,7 @@ void * hbqt_gcAllocate_QDesignerObjectInspectorInterface( void * pObj, bool bNew
HB_FUNC( QT_QDESIGNEROBJECTINSPECTORINTERFACE )
{
//hb_retptr( new QDesignerObjectInspectorInterface() );
//__HB_RETPTRGC__( new QDesignerObjectInspectorInterface() );
}
/*

View File

@@ -157,7 +157,7 @@ void * hbqt_gcAllocate_QDesignerPropertyEditorInterface( void * pObj, bool bNew
HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE )
{
//hb_retptr( new QDesignerPropertyEditorInterface() );
//__HB_RETPTRGC__( new QDesignerPropertyEditorInterface() );
}
/*

View File

@@ -157,7 +157,7 @@ void * hbqt_gcAllocate_QDesignerWidgetBoxInterface( void * pObj, bool bNew )
HB_FUNC( QT_QDESIGNERWIDGETBOXINTERFACE )
{
//hb_retptr( new QDesignerWidgetBoxInterface() );
//__HB_RETPTRGC__( new QDesignerWidgetBoxInterface() );
}
/*

View File

@@ -81,7 +81,7 @@ folder = hbqtdesigner
*/
HB_FUNC( QT_QDESIGNERACTIONEDITORINTERFACE )
{
//hb_retptr( new QDesignerActionEditorInterface() );
//__HB_RETPTRGC__( new QDesignerActionEditorInterface() );
}
</CODE>

View File

@@ -83,11 +83,11 @@ HB_FUNC( QT_QDESIGNERFORMEDITORINTERFACE )
{
if( HB_ISPOINTER( 1 ) )
{
hb_retptr( new QDesignerFormEditorInterface( hbqt_par_QObject( 1 ) ) );
__HB_RETPTRGC__( new QDesignerFormEditorInterface( hbqt_par_QObject( 1 ) ) );
}
else
{
hb_retptr( new QDesignerFormEditorInterface() );
__HB_RETPTRGC__( new QDesignerFormEditorInterface() );
}
}
</CODE>

View File

@@ -80,7 +80,7 @@ folder = hbqtdesigner
*/
HB_FUNC( QT_QDESIGNERFORMWINDOWCURSORINTERFACE )
{
//hb_retptr( new QDesignerFormWindowCursorInterface() );
//__HB_RETPTRGC__( new QDesignerFormWindowCursorInterface() );
}
</CODE>

View File

@@ -81,7 +81,7 @@ folder = hbqtdesigner
*/
HB_FUNC( QT_QDESIGNERFORMWINDOWINTERFACE )
{
//hb_retptr( new QDesignerFormWindowInterface() );
//__HB_RETPTRGC__( new QDesignerFormWindowInterface() );
}
</CODE>

View File

@@ -81,7 +81,7 @@ folder = hbqtdesigner
*/
HB_FUNC( QT_QDESIGNERFORMWINDOWMANAGERINTERFACE )
{
//hb_retptr( new QDesignerFormWindowManagerInterface() );
//__HB_RETPTRGC__( new QDesignerFormWindowManagerInterface() );
}
</CODE>

View File

@@ -81,7 +81,7 @@ folder = hbqtdesigner
*/
HB_FUNC( QT_QDESIGNEROBJECTINSPECTORINTERFACE )
{
//hb_retptr( new QDesignerObjectInspectorInterface() );
//__HB_RETPTRGC__( new QDesignerObjectInspectorInterface() );
}
</CODE>

View File

@@ -81,7 +81,7 @@ folder = hbqtdesigner
*/
HB_FUNC( QT_QDESIGNERPROPERTYEDITORINTERFACE )
{
//hb_retptr( new QDesignerPropertyEditorInterface() );
//__HB_RETPTRGC__( new QDesignerPropertyEditorInterface() );
}
</CODE>

View File

@@ -81,7 +81,7 @@ folder = hbqtdesigner
*/
HB_FUNC( QT_QDESIGNERWIDGETBOXINTERFACE )
{
//hb_retptr( new QDesignerWidgetBoxInterface() );
//__HB_RETPTRGC__( new QDesignerWidgetBoxInterface() );
}
</CODE>

View File

@@ -156,7 +156,7 @@ void * hbqt_gcAllocate_QAbstractGraphicsShapeItem( void * pObj, bool bNew )
HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM )
{
// hb_retptr( new QAbstractGraphicsShapeItem() );
// __HB_RETPTRGC__( new QAbstractGraphicsShapeItem() );
}
/*

View File

@@ -161,7 +161,7 @@ void * hbqt_gcAllocate_QAbstractItemDelegate( void * pObj, bool bNew )
HB_FUNC( QT_QABSTRACTITEMDELEGATE )
{
// hb_retptr( new QAbstractItemDelegate( 0 ) );
// __HB_RETPTRGC__( new QAbstractItemDelegate( 0 ) );
}
/*

View File

@@ -153,7 +153,7 @@ void * hbqt_gcAllocate_QAbstractProxyModel( void * pObj, bool bNew )
HB_FUNC( QT_QABSTRACTPROXYMODEL )
{
// hb_retptr( new QAbstractProxyModel() );
// __HB_RETPTRGC__( new QAbstractProxyModel() );
}
/*

View File

@@ -158,7 +158,7 @@ void * hbqt_gcAllocate_QAbstractTextDocumentLayout( void * pObj, bool bNew )
HB_FUNC( QT_QABSTRACTTEXTDOCUMENTLAYOUT )
{
// hb_retptr( new QAbstractTextDocumentLayout( hbqt_par_QTextDocument( 1 ) ) );
// __HB_RETPTRGC__( new QAbstractTextDocumentLayout( hbqt_par_QTextDocument( 1 ) ) );
}
/*

View File

@@ -256,7 +256,7 @@ void * hbqt_gcAllocate_QApplication( void * pObj, bool bNew )
HB_FUNC( QT_QAPPLICATION )
{
//hb_retptr( ( QApplication * ) s_app );
//__HB_RETPTRGC__( ( QApplication * ) s_app );
hb_retptr ( s_app );
}

View File

@@ -158,7 +158,7 @@ void * hbqt_gcAllocate_QDesktopServices( void * pObj, bool bNew )
HB_FUNC( QT_QDESKTOPSERVICES )
{
//hb_retptr( QDesktopServices() );
//__HB_RETPTRGC__( QDesktopServices() );
}
/*

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