2011-03-10 09:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbmk2_qt.hbs
! Fix to prev.
; QUESTION: What is the reason that the constructor code
is manually written for each class, instead of
being automatically generated?
Can it be also autogenerated?
This commit is contained in:
@@ -16,6 +16,14 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-03-10 09:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbqt/hbmk2_qt.hbs
|
||||
! Fix to prev.
|
||||
; QUESTION: What is the reason that the constructor code
|
||||
is manually written for each class, instead of
|
||||
being automatically generated?
|
||||
Can it be also autogenerated?
|
||||
|
||||
2011-03-10 07:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbgs/hbgs.hbp
|
||||
+ Added autodetection path [Tamas Tevesz]
|
||||
|
||||
@@ -1644,7 +1644,9 @@ METHOD HbQtSource:getConstructor( nClsType )
|
||||
IF "__HB_RETPTRGC__(" $ ::new_[ i ]
|
||||
s := ::new_[ i ]
|
||||
s := RTrim( strtran( s, "__HB_RETPTRGC__(", "pObj =" ) )
|
||||
s := RTrim( strtran( s, ");" ) ) + ";"
|
||||
IF ");" $ s
|
||||
s := RTrim( strtran( s, ");" ) ) + ";"
|
||||
ENDIF
|
||||
s := strtran( s, "( " + ::cQtObject + "* )" )
|
||||
aadd( aLine, s )
|
||||
ELSE
|
||||
|
||||
Reference in New Issue
Block a user