2010-07-11 22:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/filelist.mk
* contrib/hbqt/generator/hbqtgen.prg
* contrib/hbqt/generator/qt45.qtp
* contrib/hbqt/hbqt.ch
* contrib/hbqt/hbqt.h
* contrib/hbqt/hbqt.hbp
* contrib/hbqt/hbqt_garbage.h
+ contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
+ contrib/hbqt/hbqt_hbqabstractitemmodel.h
* contrib/hbqt/qtcore/filelist.hbm
* contrib/hbqt/qtcore/filelist.mk
+ contrib/hbqt/qth/HBQAbstractItemModel.qth
* contrib/hbxbp/xbpbrowse.prg
+ Applied patch provided by Bacco, thanks.
This implements one more member to the structure
which will help simplifying many complex structures in hbQT.
* Regenerated: *.cpp
This commit is contained in:
@@ -16,6 +16,27 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-07-11 22:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/filelist.mk
|
||||
* contrib/hbqt/generator/hbqtgen.prg
|
||||
* contrib/hbqt/generator/qt45.qtp
|
||||
* contrib/hbqt/hbqt.ch
|
||||
* contrib/hbqt/hbqt.h
|
||||
* contrib/hbqt/hbqt.hbp
|
||||
* contrib/hbqt/hbqt_garbage.h
|
||||
+ contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
|
||||
+ contrib/hbqt/hbqt_hbqabstractitemmodel.h
|
||||
* contrib/hbqt/qtcore/filelist.hbm
|
||||
* contrib/hbqt/qtcore/filelist.mk
|
||||
+ contrib/hbqt/qth/HBQAbstractItemModel.qth
|
||||
* contrib/hbxbp/xbpbrowse.prg
|
||||
|
||||
+ Applied patch provided by Bacco, thanks.
|
||||
This implements one more member to the structure
|
||||
which will help simplifying many complex structures in hbQT.
|
||||
|
||||
* Regenerated: *.cpp
|
||||
|
||||
2010-07-11 19:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbide/hbide.hbp
|
||||
- Deleted: ideprotos.prg
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#
|
||||
|
||||
MOC_HEADERS := \
|
||||
hbqt_hbqabstractitemmodel.h \
|
||||
hbqt_hbdbfmodel.h \
|
||||
hbqt_hbevents.h \
|
||||
hbqt_hbqmainwindow.h \
|
||||
@@ -15,6 +16,7 @@ CPP_SOURCES := \
|
||||
hbqt_base.cpp \
|
||||
hbqt_utils.cpp \
|
||||
hbqt_destruct.cpp \
|
||||
hbqt_hbqabstractitemmodel.cpp \
|
||||
hbqt_hbdbfmodel.cpp \
|
||||
hbqt_hbevents.cpp \
|
||||
hbqt_hbqmainwindow.cpp \
|
||||
|
||||
@@ -595,6 +595,7 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc )
|
||||
ENDIF
|
||||
aadd( cpp_, " bool bNew;" )
|
||||
aadd( cpp_, " QT_G_FUNC_PTR func;" )
|
||||
aadd( cpp_, " int type;" )
|
||||
aadd( cpp_, "} QGC_POINTER_" + cWidget + ";" )
|
||||
aadd( cpp_, " " )
|
||||
|
||||
@@ -689,6 +690,7 @@ STATIC FUNCTION GenSource( cProFile, cPathIn, cPathOut, cPathDoc )
|
||||
ENDIF
|
||||
aadd( cpp_, " p->bNew = bNew;" )
|
||||
aadd( cpp_, " p->func = hbqt_gcRelease_" + cWidget + ";" )
|
||||
aadd( cpp_, " p->type = QT_TYPE_"+cWidget+";" )
|
||||
aadd( cpp_, "" )
|
||||
aadd( cpp_, " if( bNew )" )
|
||||
aadd( cpp_, " {" )
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
-D=../doc
|
||||
|
||||
HBQAbstractItemModel.qth
|
||||
HBDbfModel.qth
|
||||
HBEvents.qth
|
||||
HBQMainWindow.qth
|
||||
@@ -299,3 +300,4 @@ QWindowStateChangeEvent.qth
|
||||
QWizard.qth
|
||||
QWizardPage.qth
|
||||
|
||||
|
||||
|
||||
@@ -2243,5 +2243,19 @@
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
* DEFINES HBQt CODEBLOCKs
|
||||
*
|
||||
* Format:
|
||||
* QT_(Qt class initials)_(Qt overloaded member)
|
||||
*/
|
||||
|
||||
#define QT_QAIM_data 1001
|
||||
#define QT_QAIM_flags 1003
|
||||
#define QT_QAIM_headerData 2001
|
||||
#define QT_QAIM_rowCount 3001
|
||||
#define QT_QAIM_columnCount 3002
|
||||
|
||||
|
||||
#define _HBQT_CH
|
||||
#endif
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
void * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER;
|
||||
|
||||
HB_GARBAGE_FUNC( Q_release );
|
||||
@@ -393,6 +394,7 @@ extern void * hbqt_pPtrFromItem( PHB_ITEM pObj );
|
||||
#define hbqt_par_QWSEvent( n ) ( ( QWSEvent * ) hbqt_gcpointer( n ) )
|
||||
|
||||
#define hbqt_par_HBDbfModel( n ) ( ( HBDbfModel * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_HBQAbstractItemModel( n ) ( ( HBQAbstractItemModel * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_HBEvents( n ) ( ( HBEvents * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_HBQMainWindow( n ) ( ( HBQMainWindow * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_HBQPlainTextEdit( n ) ( ( HBQPlainTextEdit * ) hbqt_gcpointer( n ) )
|
||||
@@ -407,4 +409,327 @@ extern void * hbqt_pPtrFromItem( PHB_ITEM pObj );
|
||||
#define hbqt_par_Bool( n ) ( hb_parl( n ) )
|
||||
#define hbqt_par_char( n ) ( hb_parcx( n ) )
|
||||
|
||||
/*
|
||||
* DEFINES FOR HBQt PSEUDO-CASTING
|
||||
*
|
||||
* Format:
|
||||
* QT_TYPE_(Qt class)
|
||||
*/
|
||||
|
||||
#define QT_TYPE_ExtensionOption 1001
|
||||
#define QT_TYPE_IUnknown 1002
|
||||
#define QT_TYPE_QAbstractButton 1003
|
||||
#define QT_TYPE_QAbstractEventDispatcher 1004
|
||||
#define QT_TYPE_QAbstractItemDelegate 1005
|
||||
#define QT_TYPE_QAbstractItemModel 1006
|
||||
#define QT_TYPE_QAbstractItemView 1007
|
||||
#define QT_TYPE_QAbstractListModel 1008
|
||||
#define QT_TYPE_QAbstractPrintDialog 1009
|
||||
#define QT_TYPE_QAbstractProxyModel 1010
|
||||
#define QT_TYPE_QAbstractScrollArea 1011
|
||||
#define QT_TYPE_QAbstractSlider 1012
|
||||
#define QT_TYPE_QAbstractSpinBox 1013
|
||||
#define QT_TYPE_QAbstractTableModel 1014
|
||||
#define QT_TYPE_QAbstractTextDocumentLayout 1015
|
||||
#define QT_TYPE_QAction 1016
|
||||
#define QT_TYPE_QActionGroup 1017
|
||||
#define QT_TYPE_QApplication 1018
|
||||
#define QT_TYPE_QAxBase 1019
|
||||
#define QT_TYPE_QBitArray 1020
|
||||
#define QT_TYPE_QBitmap 1021
|
||||
#define QT_TYPE_QBoxLayout 1022
|
||||
#define QT_TYPE_QBrush 1023
|
||||
#define QT_TYPE_QBuffer 1024
|
||||
#define QT_TYPE_QButtonGroup 1025
|
||||
#define QT_TYPE_QByteArray 1026
|
||||
#define QT_TYPE_QCalendarWidget 1027
|
||||
#define QT_TYPE_QChar 1028
|
||||
#define QT_TYPE_QCheckBox 1029
|
||||
#define QT_TYPE_QClipboard 1030
|
||||
#define QT_TYPE_QColor 1031
|
||||
#define QT_TYPE_QColorDialog 1032
|
||||
#define QT_TYPE_QComboBox 1033
|
||||
#define QT_TYPE_QCommandLinkButton 1034
|
||||
#define QT_TYPE_QCommonStyle 1035
|
||||
#define QT_TYPE_QCompleter 1036
|
||||
#define QT_TYPE_QConicalGradient 1037
|
||||
#define QT_TYPE_QContextMenuEvent 1038
|
||||
#define QT_TYPE_QCoreApplication 1039
|
||||
#define QT_TYPE_QCursor 1040
|
||||
#define QT_TYPE_QDateEdit 1041
|
||||
#define QT_TYPE_QDataStream 1042
|
||||
#define QT_TYPE_QDate 1043
|
||||
#define QT_TYPE_QDateTime 1044
|
||||
#define QT_TYPE_QDateTimeEdit 1045
|
||||
#define QT_TYPE_QDesktopWidget 1046
|
||||
#define QT_TYPE_QDial 1047
|
||||
#define QT_TYPE_QDialog 1048
|
||||
#define QT_TYPE_QDir 1049
|
||||
#define QT_TYPE_QDirModel 1050
|
||||
#define QT_TYPE_QDockWidget 1051
|
||||
#define QT_TYPE_QDoubleSpinBox 1053
|
||||
#define QT_TYPE_QDragEnterEvent 1054
|
||||
#define QT_TYPE_QDragLeaveEvent 1055
|
||||
#define QT_TYPE_QDragMoveEvent 1056
|
||||
#define QT_TYPE_QDropEvent 1057
|
||||
#define QT_TYPE_QErrorMessage 1058
|
||||
#define QT_TYPE_QEvent 1059
|
||||
#define QT_TYPE_QEventLoop 1060
|
||||
#define QT_TYPE_QFile 1061
|
||||
#define QT_TYPE_QFileDialog 1062
|
||||
#define QT_TYPE_QFileIconProvider 1063
|
||||
#define QT_TYPE_QFileInfo 1064
|
||||
#define QT_TYPE_QFileSystemModel 1065
|
||||
#define QT_TYPE_QFocusEvent 1066
|
||||
#define QT_TYPE_QFocusFrame 1067
|
||||
#define QT_TYPE_QFont 1068
|
||||
#define QT_TYPE_QFontComboBox 1069
|
||||
#define QT_TYPE_QFontDatabase 1070
|
||||
#define QT_TYPE_QFontDialog 1071
|
||||
#define QT_TYPE_QFontInfo 1072
|
||||
#define QT_TYPE_QFontMetrics 1073
|
||||
#define QT_TYPE_QFontMetricsF 1074
|
||||
#define QT_TYPE_QFormLayout 1075
|
||||
#define QT_TYPE_QFrame 1076
|
||||
#define QT_TYPE_QFtp 1077
|
||||
#define QT_TYPE_QGradient 1078
|
||||
#define QT_TYPE_QGradientStops 1079
|
||||
#define QT_TYPE_QGridLayout 1080
|
||||
#define QT_TYPE_QGroupBox 1081
|
||||
#define QT_TYPE_QHBoxLayout 1082
|
||||
#define QT_TYPE_QHeaderView 1083
|
||||
#define QT_TYPE_QHelpEvent 1084
|
||||
#define QT_TYPE_QHideEvent 1085
|
||||
#define QT_TYPE_QHttp 1086
|
||||
#define QT_TYPE_QHttpHeader 1087
|
||||
#define QT_TYPE_QHttpResponseHeader 1088
|
||||
#define QT_TYPE_QHttpRequestHeader 1089
|
||||
#define QT_TYPE_QIcon 1090
|
||||
#define QT_TYPE_QImage 1091
|
||||
#define QT_TYPE_QImageReader 1092
|
||||
#define QT_TYPE_QImageWriter 1093
|
||||
#define QT_TYPE_QInputContext 1094
|
||||
#define QT_TYPE_QInputDialog 1095
|
||||
#define QT_TYPE_QInputEvent 1096
|
||||
#define QT_TYPE_QInputMethodEvent 1097
|
||||
#define QT_TYPE_QIODevice 1098
|
||||
#define QT_TYPE_QItemDelegate 1099
|
||||
#define QT_TYPE_QItemEditorCreator 1100
|
||||
#define QT_TYPE_QItemEditorCreatorBase 1101
|
||||
#define QT_TYPE_QItemEditorFactory 1102
|
||||
#define QT_TYPE_QItemSelection 1103
|
||||
#define QT_TYPE_QItemSelectionModel 1104
|
||||
#define QT_TYPE_QKeyEvent 1105
|
||||
#define QT_TYPE_QKeySequence 1106
|
||||
#define QT_TYPE_QLabel 1107
|
||||
#define QT_TYPE_QLatin1Char 1108
|
||||
#define QT_TYPE_QLatin1String 1109
|
||||
#define QT_TYPE_QLayout 1110
|
||||
#define QT_TYPE_QLayoutItem 1111
|
||||
#define QT_TYPE_QLCDNumber 1112
|
||||
#define QT_TYPE_QLibraryInfo 1113
|
||||
#define QT_TYPE_QLine 1114
|
||||
#define QT_TYPE_QLinearGradient 1115
|
||||
#define QT_TYPE_QLineEdit 1116
|
||||
#define QT_TYPE_QLineF 1117
|
||||
#define QT_TYPE_QList 1118
|
||||
#define QT_TYPE_QListView 1119
|
||||
#define QT_TYPE_QListWidget 1120
|
||||
#define QT_TYPE_QListWidgetItem 1121
|
||||
#define QT_TYPE_QLocale 1122
|
||||
#define QT_TYPE_QMainWindow 1123
|
||||
#define QT_TYPE_QMatrix 1124
|
||||
#define QT_TYPE_QMdiArea 1125
|
||||
#define QT_TYPE_QMdiSubWindow 1126
|
||||
#define QT_TYPE_QMenu 1127
|
||||
#define QT_TYPE_QMenuBar 1128
|
||||
#define QT_TYPE_QMessageBox 1129
|
||||
#define QT_TYPE_QMimeData 1130
|
||||
#define QT_TYPE_QModelIndex 1131
|
||||
#define QT_TYPE_QModelIndexList 1132
|
||||
#define QT_TYPE_QMouseEvent 1133
|
||||
#define QT_TYPE_QMoveEvent 1134
|
||||
#define QT_TYPE_QMovie 1135
|
||||
#define QT_TYPE_QNetworkAccessManager 1136
|
||||
#define QT_TYPE_QNetworkProxy 1137
|
||||
#define QT_TYPE_QNetworkRequest 1138
|
||||
#define QT_TYPE_QObject 1139
|
||||
#define QT_TYPE_QPageSetupDialog 1140
|
||||
#define QT_TYPE_QPaintDevice 1141
|
||||
#define QT_TYPE_QPaintEngine 1142
|
||||
#define QT_TYPE_QPaintEngineState 1143
|
||||
#define QT_TYPE_QPainter 1144
|
||||
#define QT_TYPE_QPainterPath 1145
|
||||
#define QT_TYPE_QPaintEvent 1146
|
||||
#define QT_TYPE_QPalette 1147
|
||||
#define QT_TYPE_QPen 1148
|
||||
#define QT_TYPE_QPicture 1149
|
||||
#define QT_TYPE_QPixmap 1150
|
||||
#define QT_TYPE_QPlainTextDocumentLayout 1151
|
||||
#define QT_TYPE_QPlainTextEdit 1152
|
||||
#define QT_TYPE_QPoint 1153
|
||||
#define QT_TYPE_QPointF 1154
|
||||
#define QT_TYPE_QPolygon 1155
|
||||
#define QT_TYPE_QPolygonF 1156
|
||||
#define QT_TYPE_QPrintDialog 1157
|
||||
#define QT_TYPE_QPrintEngine 1158
|
||||
#define QT_TYPE_QPrinter 1159
|
||||
#define QT_TYPE_QPrintPreviewDialog 1160
|
||||
#define QT_TYPE_QProcess 1161
|
||||
#define QT_TYPE_QProgressBar 1162
|
||||
#define QT_TYPE_QProgressDialog 1163
|
||||
#define QT_TYPE_QPushButton 1164
|
||||
#define QT_TYPE_QRadialGradient 1165
|
||||
#define QT_TYPE_QRadioButton 1166
|
||||
#define QT_TYPE_QRect 1167
|
||||
#define QT_TYPE_QRectF 1168
|
||||
#define QT_TYPE_QRegExp 1169
|
||||
#define QT_TYPE_QRegion 1170
|
||||
#define QT_TYPE_QResizeEvent 1171
|
||||
#define QT_TYPE_QResource 1172
|
||||
#define QT_TYPE_QScrollArea 1173
|
||||
#define QT_TYPE_QScrollBar 1174
|
||||
#define QT_TYPE_QSessionManager 1175
|
||||
#define QT_TYPE_QSettings 1176
|
||||
#define QT_TYPE_QShowEvent 1177
|
||||
#define QT_TYPE_QSignalMapper 1178
|
||||
#define QT_TYPE_QSize 1179
|
||||
#define QT_TYPE_QSizeF 1180
|
||||
#define QT_TYPE_QSizeGrip 1181
|
||||
#define QT_TYPE_QSizePolicy 1182
|
||||
#define QT_TYPE_QSlider 1183
|
||||
#define QT_TYPE_QSound 1184
|
||||
#define QT_TYPE_QSpacerItem 1185
|
||||
#define QT_TYPE_QSpinBox 1186
|
||||
#define QT_TYPE_QSplashScreen 1187
|
||||
#define QT_TYPE_QSplitter 1188
|
||||
#define QT_TYPE_QStackedWidget 1189
|
||||
#define QT_TYPE_QStandardItem 1190
|
||||
#define QT_TYPE_QStandardItemModel 1191
|
||||
#define QT_TYPE_QStatusBar 1192
|
||||
#define QT_TYPE_QStringList 1193
|
||||
#define QT_TYPE_QStringListModel 1194
|
||||
#define QT_TYPE_QStyle 1195
|
||||
#define QT_TYPE_QStyledItemDelegate 1196
|
||||
#define QT_TYPE_QStyleFactory 1197
|
||||
#define QT_TYPE_QStyleHintReturn 1198
|
||||
#define QT_TYPE_QStyleHintReturnMask 1199
|
||||
#define QT_TYPE_QStyleHintReturnVariant 1200
|
||||
#define QT_TYPE_QStyleOption 1201
|
||||
#define QT_TYPE_QStyleOptionButton 1202
|
||||
#define QT_TYPE_QStyleOptionComboBox 1203
|
||||
#define QT_TYPE_QStyleOptionComplex 1204
|
||||
#define QT_TYPE_QStyleOptionDockWidget 1205
|
||||
#define QT_TYPE_QStyleOptionFocusRect 1206
|
||||
#define QT_TYPE_QStyleOptionFrame 1207
|
||||
#define QT_TYPE_QStyleOptionGroupBox 1208
|
||||
#define QT_TYPE_QStyleOptionHeader 1209
|
||||
#define QT_TYPE_QStyleOptionMenuItem 1210
|
||||
#define QT_TYPE_QStyleOptionProgressBar 1211
|
||||
#define QT_TYPE_QStyleOptionSizeGrip 1212
|
||||
#define QT_TYPE_QStyleOptionSlider 1213
|
||||
#define QT_TYPE_QStyleOptionSpinBox 1214
|
||||
#define QT_TYPE_QStyleOptionTab 1215
|
||||
#define QT_TYPE_QStyleOptionTabBarBase 1216
|
||||
#define QT_TYPE_QStyleOptionTabWidgetFrame 1217
|
||||
#define QT_TYPE_QStyleOptionTitleBar 1218
|
||||
#define QT_TYPE_QStyleOptionToolBar 1219
|
||||
#define QT_TYPE_QStyleOptionToolBox 1220
|
||||
#define QT_TYPE_QStyleOptionToolButton 1221
|
||||
#define QT_TYPE_QStyleOptionViewItem 1222
|
||||
#define QT_TYPE_QStylePainter 1224
|
||||
#define QT_TYPE_QSyntaxHighlighter 1225
|
||||
#define QT_TYPE_QSystemTrayIcon 1226
|
||||
#define QT_TYPE_QTabBar 1227
|
||||
#define QT_TYPE_QTableView 1228
|
||||
#define QT_TYPE_QTableWidget 1229
|
||||
#define QT_TYPE_QTableWidgetItem 1230
|
||||
#define QT_TYPE_QTableWidgetSelectionRange 1231
|
||||
#define QT_TYPE_QTabWidget 1232
|
||||
#define QT_TYPE_QTcpSocket 1233
|
||||
#define QT_TYPE_QTextBlock 1234
|
||||
#define QT_TYPE_QTextBlockFormat 1235
|
||||
#define QT_TYPE_QTextBlockGroup 1236
|
||||
#define QT_TYPE_QTextBlockUserData 1237
|
||||
#define QT_TYPE_QTextBoundaryFinder 1238
|
||||
#define QT_TYPE_QTextBrowser 1239
|
||||
#define QT_TYPE_QTextCharFormat 1240
|
||||
#define QT_TYPE_QTextCodec 1241
|
||||
#define QT_TYPE_QTextCursor 1244
|
||||
#define QT_TYPE_QTextDecoder 1245
|
||||
#define QT_TYPE_QTextDocument 1246
|
||||
#define QT_TYPE_QTextDocumentFragment 1247
|
||||
#define QT_TYPE_QTextDocumentWriter 1248
|
||||
#define QT_TYPE_QTextEdit 1249
|
||||
#define QT_TYPE_QTextEncoder 1250
|
||||
#define QT_TYPE_QTextEngine 1251
|
||||
#define QT_TYPE_QTextFormat 1252
|
||||
#define QT_TYPE_QTextFragment 1253
|
||||
#define QT_TYPE_QTextFrame 1254
|
||||
#define QT_TYPE_QTextFrameFormat 1255
|
||||
#define QT_TYPE_QTextImageFormat 1256
|
||||
#define QT_TYPE_QTextInlineObject 1257
|
||||
#define QT_TYPE_QTextItem 1258
|
||||
#define QT_TYPE_QTextList 1259
|
||||
#define QT_TYPE_QTextLayout 1260
|
||||
#define QT_TYPE_QTextLength 1261
|
||||
#define QT_TYPE_QTextLine 1262
|
||||
#define QT_TYPE_QTextListFormat 1263
|
||||
#define QT_TYPE_QTextObject 1264
|
||||
#define QT_TYPE_QTextOption 1265
|
||||
#define QT_TYPE_QTextStream 1266
|
||||
#define QT_TYPE_QTextTableFormat 1267
|
||||
#define QT_TYPE_QThread 1268
|
||||
#define QT_TYPE_QTime 1269
|
||||
#define QT_TYPE_QTimeEdit 1270
|
||||
#define QT_TYPE_QTimer 1271
|
||||
#define QT_TYPE_QToolBar 1272
|
||||
#define QT_TYPE_QToolBox 1273
|
||||
#define QT_TYPE_QToolButton 1274
|
||||
#define QT_TYPE_QTransform 1275
|
||||
#define QT_TYPE_QTranslator 1276
|
||||
#define QT_TYPE_QTreeView 1277
|
||||
#define QT_TYPE_QTreeWidget 1278
|
||||
#define QT_TYPE_QTreeWidgetItem 1279
|
||||
#define QT_TYPE_QUiLoader 1280
|
||||
#define QT_TYPE_QUrl 1281
|
||||
#define QT_TYPE_QValidator 1282
|
||||
#define QT_TYPE_QVariant 1283
|
||||
#define QT_TYPE_QVBoxLayout 1284
|
||||
#define QT_TYPE_QVector 1285
|
||||
#define QT_TYPE_QWheelEvent 1286
|
||||
#define QT_TYPE_QWidget 1287
|
||||
#define QT_TYPE_QWidgetAction 1288
|
||||
#define QT_TYPE_QWidgetItem 1289
|
||||
#define QT_TYPE_QWindowsStyle 1290
|
||||
#define QT_TYPE_QWindowSurface 1291
|
||||
#define QT_TYPE_QWindowsXPStyle 1292
|
||||
#define QT_TYPE_QWindowStateChangeEvent 1293
|
||||
#define QT_TYPE_QWizard 1294
|
||||
#define QT_TYPE_QWizardPage 1295
|
||||
#define QT_TYPE_QWSEvent 1296
|
||||
|
||||
#define QT_TYPE_HBDbfModel 1401
|
||||
#define QT_TYPE_HBQAbstractItemModel 1402
|
||||
#define QT_TYPE_HBEvents 1403
|
||||
#define QT_TYPE_HBQMainWindow 1404
|
||||
#define QT_TYPE_HBQPlainTextEdit 1405
|
||||
#define QT_TYPE_HBQTableView 1406
|
||||
#define QT_TYPE_HBQSyntaxHighlighter 1407
|
||||
#define QT_TYPE_HBQTextBlockUserData 1408
|
||||
#define QT_TYPE_HBSlots 1409
|
||||
|
||||
/*
|
||||
* DEFINES HBQt CODEBLOCKs
|
||||
*
|
||||
* Format:
|
||||
* QT_(Qt class initials)_(Qt overloaded member)
|
||||
*/
|
||||
|
||||
#define QT_QAIM_data 1001
|
||||
#define QT_QAIM_flags 1003
|
||||
#define QT_QAIM_headerData 2001
|
||||
#define QT_QAIM_rowCount 3001
|
||||
#define QT_QAIM_columnCount 3002
|
||||
|
||||
#endif /* __HBQT_H */
|
||||
|
||||
@@ -13,6 +13,7 @@ hbqt_common.hbm
|
||||
|
||||
hbqt_base.cpp
|
||||
hbqt_destruct.cpp
|
||||
hbqt_hbqabstractitemmodel.cpp
|
||||
hbqt_hbdbfmodel.cpp
|
||||
hbqt_hbevents.cpp
|
||||
hbqt_hbqmainwindow.cpp
|
||||
@@ -25,6 +26,7 @@ hbqt_misc.prg
|
||||
hbqt_errorsys.prg
|
||||
THbQtUI.prg
|
||||
|
||||
hbqt_hbqabstractitemmodel.cpp
|
||||
hbqt_hbdbfmodel.h
|
||||
hbqt_hbevents.h
|
||||
hbqt_hbqmainwindow.h
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
/* or the generator tool itself, and run regenarate. */
|
||||
/* -------------------------------------------------------------------- */
|
||||
|
||||
extern QT_G_FUNC( hbqt_gcRelease_HBQAbstractItemModel );
|
||||
extern QT_G_FUNC( hbqt_gcRelease_HBDbfModel );
|
||||
extern QT_G_FUNC( hbqt_gcRelease_HBEvents );
|
||||
extern QT_G_FUNC( hbqt_gcRelease_HBQMainWindow );
|
||||
@@ -290,6 +291,7 @@ extern QT_G_FUNC( hbqt_gcRelease_QWindowStateChangeEvent );
|
||||
extern QT_G_FUNC( hbqt_gcRelease_QWizard );
|
||||
extern QT_G_FUNC( hbqt_gcRelease_QWizardPage );
|
||||
|
||||
extern void * hbqt_gcAllocate_HBQAbstractItemModel( void * pObj, bool bNew );
|
||||
extern void * hbqt_gcAllocate_HBDbfModel( void * pObj, bool bNew );
|
||||
extern void * hbqt_gcAllocate_HBEvents( void * pObj, bool bNew );
|
||||
extern void * hbqt_gcAllocate_HBQMainWindow( void * pObj, bool bNew );
|
||||
|
||||
170
harbour/contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
Normal file
170
harbour/contrib/hbqt/hbqt_hbqabstractitemmodel.cpp
Normal file
@@ -0,0 +1,170 @@
|
||||
|
||||
/* PLEASE, SOMEONE ADD THE CORRECT HEADER */
|
||||
|
||||
/* carlosbacco@gmail.com */
|
||||
|
||||
#include "hbqt.h"
|
||||
|
||||
#include "hbapiitm.h"
|
||||
#include "hbvm.h"
|
||||
|
||||
#if QT_VERSION >= 0x040500
|
||||
|
||||
#include "hbqt_hbqabstractitemmodel.h"
|
||||
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtGui/QWidget>
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
QVariant hbqt_fetchData( PHB_ITEM block, int type, int role, int par1, int par2 )
|
||||
{
|
||||
QVariant vv;
|
||||
|
||||
if( hb_vmRequestReenter() )
|
||||
{
|
||||
PHB_ITEM p0 = hb_itemPutNI( NULL, type );
|
||||
PHB_ITEM p1 = hb_itemPutNI( NULL, role );
|
||||
PHB_ITEM p2 = hb_itemPutNI( NULL, par1 );
|
||||
PHB_ITEM p3 = hb_itemPutNI( NULL, par2 );
|
||||
|
||||
PHB_ITEM ret = hb_vmEvalBlockV( block, 4, p0, p1, p2, p3 );
|
||||
|
||||
hb_itemRelease( p0 );
|
||||
hb_itemRelease( p1 );
|
||||
hb_itemRelease( p2 );
|
||||
hb_itemRelease( p3 );
|
||||
|
||||
if( hb_itemType( ret ) & HB_IT_STRING )
|
||||
{
|
||||
vv = hb_itemGetCPtr( ret );
|
||||
HB_TRACE( HB_TR_DEBUG, ( " fetchData[ s = %s ]", hb_itemGetCPtr( ret ) ) );
|
||||
}
|
||||
else if( hb_itemType( ret ) & HB_IT_LOGICAL )
|
||||
{
|
||||
vv = hb_itemGetL( ret );
|
||||
HB_TRACE( HB_TR_DEBUG, ( " fetchData[ l = %i ]", hb_itemGetL( ret ) ) );
|
||||
}
|
||||
else if( hb_itemType( ret ) & HB_IT_DOUBLE )
|
||||
{
|
||||
vv = hb_itemGetND( ret );
|
||||
HB_TRACE( HB_TR_DEBUG, ( " fetchData[ d = %f ]", hb_itemGetND( ret ) ) );
|
||||
}
|
||||
else if( hb_itemType( ret ) & HB_IT_NUMERIC )
|
||||
{
|
||||
vv = hb_itemGetNI( ret );
|
||||
HB_TRACE( HB_TR_DEBUG, ( " fetchData[ n = %i ]", hb_itemGetNI( ret ) ) );
|
||||
}
|
||||
else if( hb_itemType( ret ) & HB_IT_OBJECT )
|
||||
{
|
||||
hb_vmPushSymbol( hb_dynsymSymbol( hb_dynsymFindName( "PPTR" ) ) );
|
||||
hb_vmPush( ret );
|
||||
hb_vmSend( 0 );
|
||||
QGC_POINTER * p = ( QGC_POINTER * ) hb_parptrGC( hbqt_gcFuncs(), -1 );
|
||||
if ( p->type == QT_TYPE_QBrush )
|
||||
vv = * ( ( QBrush * ) ( p->ph ) );
|
||||
else if ( p->type == QT_TYPE_QColor )
|
||||
vv = * ( ( QColor * ) ( p->ph ) );
|
||||
else if ( p->type == QT_TYPE_QSize )
|
||||
vv = * ( ( QSize * ) ( p->ph ) );
|
||||
else if ( p->type == QT_TYPE_QIcon )
|
||||
vv = * ( ( QIcon * ) ( p->ph ) );
|
||||
else if ( p->type == QT_TYPE_QPixmap )
|
||||
vv = * ( ( QPixmap * ) ( p->ph ) );
|
||||
else if ( p->type == QT_TYPE_QFont )
|
||||
vv = * ( ( QFont * ) ( p->ph ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
vv = NULL;
|
||||
}
|
||||
|
||||
hb_vmRequestRestore();
|
||||
}
|
||||
|
||||
return vv;
|
||||
}
|
||||
|
||||
HBQAbstractItemModel::HBQAbstractItemModel( PHB_ITEM pBlock ) : QAbstractItemModel()
|
||||
{
|
||||
if( pBlock)
|
||||
{
|
||||
block = hb_itemNew( pBlock );
|
||||
}
|
||||
}
|
||||
|
||||
HBQAbstractItemModel::~HBQAbstractItemModel( void )
|
||||
{
|
||||
if( block )
|
||||
{
|
||||
hb_itemRelease( block );
|
||||
block = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Qt::ItemFlags HBQAbstractItemModel::flags( const QModelIndex & index ) const
|
||||
{
|
||||
if( ! index.isValid() )
|
||||
return 0;
|
||||
|
||||
QVariant ret = hbqt_fetchData( block, QT_QAIM_flags, 0, index.column(), index.row() );
|
||||
if ( ret == NULL )
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
||||
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
||||
/* TODO: Fix return ret ; */
|
||||
}
|
||||
|
||||
QVariant HBQAbstractItemModel::data( const QModelIndex & index, int role ) const
|
||||
{
|
||||
if( !index.isValid() )
|
||||
return QVariant();
|
||||
|
||||
QVariant ret = hbqt_fetchData( block, QT_QAIM_data, role, index.column(), index.row() );
|
||||
if ( ret == NULL )
|
||||
return QVariant();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
QVariant HBQAbstractItemModel::headerData( int section, Qt::Orientation orientation, int role ) const
|
||||
{
|
||||
QVariant ret = hbqt_fetchData( block, QT_QAIM_headerData, role, orientation, section );
|
||||
if ( ret == NULL )
|
||||
return QVariant();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
int HBQAbstractItemModel::rowCount( const QModelIndex & /*parent = QModelIndex()*/ ) const
|
||||
{
|
||||
QVariant ret = hbqt_fetchData( block, QT_QAIM_rowCount , 0, 0, 0);
|
||||
|
||||
return ret.toInt() ;
|
||||
}
|
||||
|
||||
int HBQAbstractItemModel::columnCount( const QModelIndex & /*parent = QModelIndex()*/ ) const
|
||||
{
|
||||
QVariant ret = hbqt_fetchData( block, QT_QAIM_columnCount , 0, 0, 0);
|
||||
|
||||
return ret.toInt() ;
|
||||
}
|
||||
|
||||
QModelIndex HBQAbstractItemModel::index( int row, int column, const QModelIndex & parent ) const
|
||||
{
|
||||
HB_SYMBOL_UNUSED( parent );
|
||||
return createIndex( row, column, row * column );
|
||||
}
|
||||
|
||||
QModelIndex HBQAbstractItemModel::parent( const QModelIndex & /* child */ ) const
|
||||
{
|
||||
return QModelIndex();
|
||||
}
|
||||
|
||||
void HBQAbstractItemModel::reset()
|
||||
{
|
||||
QAbstractItemModel::reset();
|
||||
}
|
||||
|
||||
#endif
|
||||
34
harbour/contrib/hbqt/hbqt_hbqabstractitemmodel.h
Normal file
34
harbour/contrib/hbqt/hbqt_hbqabstractitemmodel.h
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
#ifndef HBQT_HBQAbstractItemModel_H
|
||||
#define HBQT_HBQAbstractItemModel_H
|
||||
|
||||
#include "hbapi.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include <QtCore/QAbstractItemModel>
|
||||
#include <QtCore/QPointer>
|
||||
|
||||
class HBQAbstractItemModel : public QAbstractItemModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
HBQAbstractItemModel( PHB_ITEM pBlock );
|
||||
virtual ~HBQAbstractItemModel( void );
|
||||
|
||||
PHB_ITEM block;
|
||||
|
||||
Qt::ItemFlags flags( const QModelIndex & index ) const;
|
||||
QVariant data( const QModelIndex & index, int role = Qt::DisplayRole ) const;
|
||||
QVariant headerData( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const;
|
||||
int rowCount( const QModelIndex & parent = QModelIndex() ) const;
|
||||
int columnCount( const QModelIndex & parent = QModelIndex() ) const;
|
||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
|
||||
QModelIndex parent(const QModelIndex &child) const;
|
||||
void reset();
|
||||
};
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#endif
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QPointer< HBDbfModel > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_HBDbfModel;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_HBDbfModel )
|
||||
@@ -127,6 +128,7 @@ void * hbqt_gcAllocate_HBDbfModel( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< HBDbfModel >( ( HBDbfModel * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_HBDbfModel;
|
||||
p->type = QT_TYPE_HBDbfModel;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -82,6 +82,7 @@ typedef struct
|
||||
QPointer< HBEvents > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_HBEvents;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_HBEvents )
|
||||
@@ -128,6 +129,7 @@ void * hbqt_gcAllocate_HBEvents( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< HBEvents >( ( HBEvents * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_HBEvents;
|
||||
p->type = QT_TYPE_HBEvents;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QPointer< HBSlots > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_HBSlots;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_HBSlots )
|
||||
@@ -127,6 +128,7 @@ void * hbqt_gcAllocate_HBSlots( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< HBSlots >( ( HBSlots * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_HBSlots;
|
||||
p->type = QT_TYPE_HBSlots;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -99,6 +99,7 @@ typedef struct
|
||||
QPointer< QAbstractItemModel > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractItemModel;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractItemModel )
|
||||
@@ -119,6 +120,7 @@ void * hbqt_gcAllocate_QAbstractItemModel( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractItemModel >( ( QAbstractItemModel * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractItemModel;
|
||||
p->type = QT_TYPE_QAbstractItemModel;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< QAbstractListModel > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractListModel;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractListModel )
|
||||
@@ -100,6 +101,7 @@ void * hbqt_gcAllocate_QAbstractListModel( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractListModel >( ( QAbstractListModel * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractListModel;
|
||||
p->type = QT_TYPE_QAbstractListModel;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< QAbstractTableModel > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractTableModel;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractTableModel )
|
||||
@@ -100,6 +101,7 @@ void * hbqt_gcAllocate_QAbstractTableModel( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractTableModel >( ( QAbstractTableModel * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractTableModel;
|
||||
p->type = QT_TYPE_QAbstractTableModel;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QBitArray * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QBitArray;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QBitArray )
|
||||
@@ -115,6 +116,7 @@ void * hbqt_gcAllocate_QBitArray( void * pObj, bool bNew )
|
||||
p->ph = ( QBitArray * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QBitArray;
|
||||
p->type = QT_TYPE_QBitArray;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QPointer< QBuffer > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QBuffer;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QBuffer )
|
||||
@@ -127,6 +128,7 @@ void * hbqt_gcAllocate_QBuffer( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QBuffer >( ( QBuffer * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QBuffer;
|
||||
p->type = QT_TYPE_QBuffer;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -83,6 +83,7 @@ typedef struct
|
||||
QByteArray * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QByteArray;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QByteArray )
|
||||
@@ -118,6 +119,7 @@ void * hbqt_gcAllocate_QByteArray( void * pObj, bool bNew )
|
||||
p->ph = ( QByteArray * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QByteArray;
|
||||
p->type = QT_TYPE_QByteArray;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -107,6 +107,7 @@ typedef struct
|
||||
QChar * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QChar;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QChar )
|
||||
@@ -127,6 +128,7 @@ void * hbqt_gcAllocate_QChar( void * pObj, bool bNew )
|
||||
p->ph = ( QChar * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QChar;
|
||||
p->type = QT_TYPE_QChar;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -85,6 +85,7 @@ typedef struct
|
||||
QPointer< QCoreApplication > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QCoreApplication;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QCoreApplication )
|
||||
@@ -105,6 +106,7 @@ void * hbqt_gcAllocate_QCoreApplication( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QCoreApplication >( ( QCoreApplication * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QCoreApplication;
|
||||
p->type = QT_TYPE_QCoreApplication;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -88,6 +88,7 @@ typedef struct
|
||||
QDataStream * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QDataStream;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QDataStream )
|
||||
@@ -123,6 +124,7 @@ void * hbqt_gcAllocate_QDataStream( void * pObj, bool bNew )
|
||||
p->ph = ( QDataStream * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QDataStream;
|
||||
p->type = QT_TYPE_QDataStream;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -83,6 +83,7 @@ typedef struct
|
||||
QDate * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QDate;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QDate )
|
||||
@@ -118,6 +119,7 @@ void * hbqt_gcAllocate_QDate( void * pObj, bool bNew )
|
||||
p->ph = ( QDate * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QDate;
|
||||
p->type = QT_TYPE_QDate;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -83,6 +83,7 @@ typedef struct
|
||||
QDateTime * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QDateTime;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QDateTime )
|
||||
@@ -118,6 +119,7 @@ void * hbqt_gcAllocate_QDateTime( void * pObj, bool bNew )
|
||||
p->ph = ( QDateTime * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QDateTime;
|
||||
p->type = QT_TYPE_QDateTime;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -89,6 +89,7 @@ typedef struct
|
||||
QDir * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QDir;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QDir )
|
||||
@@ -124,6 +125,7 @@ void * hbqt_gcAllocate_QDir( void * pObj, bool bNew )
|
||||
p->ph = ( QDir * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QDir;
|
||||
p->type = QT_TYPE_QDir;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -84,6 +84,7 @@ typedef struct
|
||||
QEvent * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QEvent;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QEvent )
|
||||
@@ -119,6 +120,7 @@ void * hbqt_gcAllocate_QEvent( void * pObj, bool bNew )
|
||||
p->ph = ( QEvent * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QEvent;
|
||||
p->type = QT_TYPE_QEvent;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -85,6 +85,7 @@ typedef struct
|
||||
QPointer< QEventLoop > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QEventLoop;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QEventLoop )
|
||||
@@ -131,6 +132,7 @@ void * hbqt_gcAllocate_QEventLoop( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QEventLoop >( ( QEventLoop * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QEventLoop;
|
||||
p->type = QT_TYPE_QEventLoop;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -90,6 +90,7 @@ typedef struct
|
||||
QPointer< QFile > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QFile;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QFile )
|
||||
@@ -136,6 +137,7 @@ void * hbqt_gcAllocate_QFile( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QFile >( ( QFile * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QFile;
|
||||
p->type = QT_TYPE_QFile;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -89,6 +89,7 @@ typedef struct
|
||||
QFileInfo * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QFileInfo;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QFileInfo )
|
||||
@@ -124,6 +125,7 @@ void * hbqt_gcAllocate_QFileInfo( void * pObj, bool bNew )
|
||||
p->ph = ( QFileInfo * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QFileInfo;
|
||||
p->type = QT_TYPE_QFileInfo;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -86,6 +86,7 @@ typedef struct
|
||||
QPointer< QIODevice > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QIODevice;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QIODevice )
|
||||
@@ -106,6 +107,7 @@ void * hbqt_gcAllocate_QIODevice( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QIODevice >( ( QIODevice * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QIODevice;
|
||||
p->type = QT_TYPE_QIODevice;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -79,6 +79,7 @@ typedef struct
|
||||
QLatin1Char * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QLatin1Char;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QLatin1Char )
|
||||
@@ -114,6 +115,7 @@ void * hbqt_gcAllocate_QLatin1Char( void * pObj, bool bNew )
|
||||
p->ph = ( QLatin1Char * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QLatin1Char;
|
||||
p->type = QT_TYPE_QLatin1Char;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -79,6 +79,7 @@ typedef struct
|
||||
QLatin1String * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QLatin1String;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QLatin1String )
|
||||
@@ -114,6 +115,7 @@ void * hbqt_gcAllocate_QLatin1String( void * pObj, bool bNew )
|
||||
p->ph = ( QLatin1String * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QLatin1String;
|
||||
p->type = QT_TYPE_QLatin1String;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QLine * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QLine;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QLine )
|
||||
@@ -116,6 +117,7 @@ void * hbqt_gcAllocate_QLine( void * pObj, bool bNew )
|
||||
p->ph = ( QLine * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QLine;
|
||||
p->type = QT_TYPE_QLine;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -85,6 +85,7 @@ typedef struct
|
||||
QLineF * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QLineF;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QLineF )
|
||||
@@ -120,6 +121,7 @@ void * hbqt_gcAllocate_QLineF( void * pObj, bool bNew )
|
||||
p->ph = ( QLineF * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QLineF;
|
||||
p->type = QT_TYPE_QLineF;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -107,6 +107,7 @@ typedef struct
|
||||
QList< void * > * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QList;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QList )
|
||||
@@ -142,6 +143,7 @@ void * hbqt_gcAllocate_QList( void * pObj, bool bNew )
|
||||
p->ph = ( QList< void * > * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QList;
|
||||
p->type = QT_TYPE_QList;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -90,6 +90,7 @@ typedef struct
|
||||
QLocale * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QLocale;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QLocale )
|
||||
@@ -125,6 +126,7 @@ void * hbqt_gcAllocate_QLocale( void * pObj, bool bNew )
|
||||
p->ph = ( QLocale * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QLocale;
|
||||
p->type = QT_TYPE_QLocale;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -90,6 +90,7 @@ typedef struct
|
||||
QPointer< QMimeData > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QMimeData;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QMimeData )
|
||||
@@ -136,6 +137,7 @@ void * hbqt_gcAllocate_QMimeData( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QMimeData >( ( QMimeData * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QMimeData;
|
||||
p->type = QT_TYPE_QMimeData;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QModelIndex * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QModelIndex;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QModelIndex )
|
||||
@@ -116,6 +117,7 @@ void * hbqt_gcAllocate_QModelIndex( void * pObj, bool bNew )
|
||||
p->ph = ( QModelIndex * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QModelIndex;
|
||||
p->type = QT_TYPE_QModelIndex;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -97,6 +97,7 @@ typedef struct
|
||||
QPointer< QObject > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QObject;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QObject )
|
||||
@@ -143,6 +144,7 @@ void * hbqt_gcAllocate_QObject( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QObject >( ( QObject * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QObject;
|
||||
p->type = QT_TYPE_QObject;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QPoint * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QPoint;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QPoint )
|
||||
@@ -116,6 +117,7 @@ void * hbqt_gcAllocate_QPoint( void * pObj, bool bNew )
|
||||
p->ph = ( QPoint * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QPoint;
|
||||
p->type = QT_TYPE_QPoint;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QPointF * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QPointF;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QPointF )
|
||||
@@ -116,6 +117,7 @@ void * hbqt_gcAllocate_QPointF( void * pObj, bool bNew )
|
||||
p->ph = ( QPointF * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QPointF;
|
||||
p->type = QT_TYPE_QPointF;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -91,6 +91,7 @@ typedef struct
|
||||
QPointer< QProcess > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QProcess;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QProcess )
|
||||
@@ -137,6 +138,7 @@ void * hbqt_gcAllocate_QProcess( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QProcess >( ( QProcess * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QProcess;
|
||||
p->type = QT_TYPE_QProcess;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -83,6 +83,7 @@ typedef struct
|
||||
QRect * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QRect;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QRect )
|
||||
@@ -118,6 +119,7 @@ void * hbqt_gcAllocate_QRect( void * pObj, bool bNew )
|
||||
p->ph = ( QRect * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QRect;
|
||||
p->type = QT_TYPE_QRect;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -84,6 +84,7 @@ typedef struct
|
||||
QRectF * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QRectF;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QRectF )
|
||||
@@ -119,6 +120,7 @@ void * hbqt_gcAllocate_QRectF( void * pObj, bool bNew )
|
||||
p->ph = ( QRectF * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QRectF;
|
||||
p->type = QT_TYPE_QRectF;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -86,6 +86,7 @@ typedef struct
|
||||
QRegExp * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QRegExp;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QRegExp )
|
||||
@@ -121,6 +122,7 @@ void * hbqt_gcAllocate_QRegExp( void * pObj, bool bNew )
|
||||
p->ph = ( QRegExp * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QRegExp;
|
||||
p->type = QT_TYPE_QRegExp;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QResource * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QResource;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QResource )
|
||||
@@ -115,6 +116,7 @@ void * hbqt_gcAllocate_QResource( void * pObj, bool bNew )
|
||||
p->ph = ( QResource * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QResource;
|
||||
p->type = QT_TYPE_QResource;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -90,6 +90,7 @@ typedef struct
|
||||
QPointer< QSettings > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QSettings;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QSettings )
|
||||
@@ -136,6 +137,7 @@ void * hbqt_gcAllocate_QSettings( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QSettings >( ( QSettings * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QSettings;
|
||||
p->type = QT_TYPE_QSettings;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< QSignalMapper > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QSignalMapper;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QSignalMapper )
|
||||
@@ -126,6 +127,7 @@ void * hbqt_gcAllocate_QSignalMapper( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QSignalMapper >( ( QSignalMapper * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QSignalMapper;
|
||||
p->type = QT_TYPE_QSignalMapper;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QSize * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QSize;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QSize )
|
||||
@@ -116,6 +117,7 @@ void * hbqt_gcAllocate_QSize( void * pObj, bool bNew )
|
||||
p->ph = ( QSize * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QSize;
|
||||
p->type = QT_TYPE_QSize;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -82,6 +82,7 @@ typedef struct
|
||||
QSizeF * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QSizeF;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QSizeF )
|
||||
@@ -117,6 +118,7 @@ void * hbqt_gcAllocate_QSizeF( void * pObj, bool bNew )
|
||||
p->ph = ( QSizeF * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QSizeF;
|
||||
p->type = QT_TYPE_QSizeF;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -99,6 +99,7 @@ typedef struct
|
||||
QStringList * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QStringList;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QStringList )
|
||||
@@ -134,6 +135,7 @@ void * hbqt_gcAllocate_QStringList( void * pObj, bool bNew )
|
||||
p->ph = ( QStringList * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QStringList;
|
||||
p->type = QT_TYPE_QStringList;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -89,6 +89,7 @@ typedef struct
|
||||
QTextBoundaryFinder * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QTextBoundaryFinder;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QTextBoundaryFinder )
|
||||
@@ -124,6 +125,7 @@ void * hbqt_gcAllocate_QTextBoundaryFinder( void * pObj, bool bNew )
|
||||
p->ph = ( QTextBoundaryFinder * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QTextBoundaryFinder;
|
||||
p->type = QT_TYPE_QTextBoundaryFinder;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -85,6 +85,7 @@ typedef struct
|
||||
QTextCodec * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QTextCodec;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QTextCodec )
|
||||
@@ -105,6 +106,7 @@ void * hbqt_gcAllocate_QTextCodec( void * pObj, bool bNew )
|
||||
p->ph = ( QTextCodec * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QTextCodec;
|
||||
p->type = QT_TYPE_QTextCodec;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QTextDecoder * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QTextDecoder;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QTextDecoder )
|
||||
@@ -115,6 +116,7 @@ void * hbqt_gcAllocate_QTextDecoder( void * pObj, bool bNew )
|
||||
p->ph = ( QTextDecoder * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QTextDecoder;
|
||||
p->type = QT_TYPE_QTextDecoder;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QTextEncoder * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QTextEncoder;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QTextEncoder )
|
||||
@@ -115,6 +116,7 @@ void * hbqt_gcAllocate_QTextEncoder( void * pObj, bool bNew )
|
||||
p->ph = ( QTextEncoder * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QTextEncoder;
|
||||
p->type = QT_TYPE_QTextEncoder;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -93,6 +93,7 @@ typedef struct
|
||||
QTextStream * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QTextStream;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QTextStream )
|
||||
@@ -128,6 +129,7 @@ void * hbqt_gcAllocate_QTextStream( void * pObj, bool bNew )
|
||||
p->ph = ( QTextStream * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QTextStream;
|
||||
p->type = QT_TYPE_QTextStream;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -83,6 +83,7 @@ typedef struct
|
||||
QPointer< QThread > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QThread;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QThread )
|
||||
@@ -129,6 +130,7 @@ void * hbqt_gcAllocate_QThread( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QThread >( ( QThread * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QThread;
|
||||
p->type = QT_TYPE_QThread;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -79,6 +79,7 @@ typedef struct
|
||||
QTime * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QTime;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QTime )
|
||||
@@ -114,6 +115,7 @@ void * hbqt_gcAllocate_QTime( void * pObj, bool bNew )
|
||||
p->ph = ( QTime * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QTime;
|
||||
p->type = QT_TYPE_QTime;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< QTimer > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QTimer;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QTimer )
|
||||
@@ -126,6 +127,7 @@ void * hbqt_gcAllocate_QTimer( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QTimer >( ( QTimer * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QTimer;
|
||||
p->type = QT_TYPE_QTimer;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -79,6 +79,7 @@ typedef struct
|
||||
QPointer< QTranslator > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QTranslator;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QTranslator )
|
||||
@@ -125,6 +126,7 @@ void * hbqt_gcAllocate_QTranslator( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QTranslator >( ( QTranslator * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QTranslator;
|
||||
p->type = QT_TYPE_QTranslator;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QPointer< QUiLoader > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QUiLoader;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QUiLoader )
|
||||
@@ -127,6 +128,7 @@ void * hbqt_gcAllocate_QUiLoader( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QUiLoader >( ( QUiLoader * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QUiLoader;
|
||||
p->type = QT_TYPE_QUiLoader;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -113,6 +113,7 @@ typedef struct
|
||||
QUrl * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QUrl;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QUrl )
|
||||
@@ -148,6 +149,7 @@ void * hbqt_gcAllocate_QUrl( void * pObj, bool bNew )
|
||||
p->ph = ( QUrl * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QUrl;
|
||||
p->type = QT_TYPE_QUrl;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -141,6 +141,7 @@ typedef struct
|
||||
QVariant * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QVariant;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QVariant )
|
||||
@@ -176,6 +177,7 @@ void * hbqt_gcAllocate_QVariant( void * pObj, bool bNew )
|
||||
p->ph = ( QVariant * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QVariant;
|
||||
p->type = QT_TYPE_QVariant;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
# or the generator tool itself, and run regenarate.
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
HBQAbstractItemModel.cpp
|
||||
HBDbfModel.cpp
|
||||
HBEvents.cpp
|
||||
HBSlots.cpp
|
||||
@@ -62,6 +63,7 @@ QUiLoader.cpp
|
||||
QUrl.cpp
|
||||
QVariant.cpp
|
||||
|
||||
THBQAbstractItemModel.prg
|
||||
THBDbfModel.prg
|
||||
THBEvents.prg
|
||||
THBSlots.prg
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
CPP_SOURCES := \
|
||||
HBQAbstractItemModel.cpp \
|
||||
HBDbfModel.cpp \
|
||||
HBEvents.cpp \
|
||||
HBSlots.cpp \
|
||||
@@ -66,6 +67,7 @@ CPP_SOURCES := \
|
||||
|
||||
|
||||
PRG_SOURCES := \
|
||||
THBQAbstractItemModel.prg \
|
||||
THBDbfModel.prg \
|
||||
THBEvents.prg \
|
||||
THBSlots.prg \
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QPointer< HBQMainWindow > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_HBQMainWindow;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_HBQMainWindow )
|
||||
@@ -127,6 +128,7 @@ void * hbqt_gcAllocate_HBQMainWindow( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< HBQMainWindow >( ( HBQMainWindow * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_HBQMainWindow;
|
||||
p->type = QT_TYPE_HBQMainWindow;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -82,6 +82,7 @@ typedef struct
|
||||
QPointer< HBQPlainTextEdit > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_HBQPlainTextEdit;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_HBQPlainTextEdit )
|
||||
@@ -128,6 +129,7 @@ void * hbqt_gcAllocate_HBQPlainTextEdit( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< HBQPlainTextEdit >( ( HBQPlainTextEdit * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_HBQPlainTextEdit;
|
||||
p->type = QT_TYPE_HBQPlainTextEdit;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< HBQSyntaxHighlighter > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_HBQSyntaxHighlighter;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_HBQSyntaxHighlighter )
|
||||
@@ -126,6 +127,7 @@ void * hbqt_gcAllocate_HBQSyntaxHighlighter( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< HBQSyntaxHighlighter >( ( HBQSyntaxHighlighter * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_HBQSyntaxHighlighter;
|
||||
p->type = QT_TYPE_HBQSyntaxHighlighter;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QPointer< HBQTableView > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_HBQTableView;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_HBQTableView )
|
||||
@@ -127,6 +128,7 @@ void * hbqt_gcAllocate_HBQTableView( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< HBQTableView >( ( HBQTableView * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_HBQTableView;
|
||||
p->type = QT_TYPE_HBQTableView;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
HBQTextBlockUserData * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_HBQTextBlockUserData;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_HBQTextBlockUserData )
|
||||
@@ -115,6 +116,7 @@ void * hbqt_gcAllocate_HBQTextBlockUserData( void * pObj, bool bNew )
|
||||
p->ph = ( HBQTextBlockUserData * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_HBQTextBlockUserData;
|
||||
p->type = QT_TYPE_HBQTextBlockUserData;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< QAbstractButton > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractButton;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractButton )
|
||||
@@ -100,6 +101,7 @@ void * hbqt_gcAllocate_QAbstractButton( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractButton >( ( QAbstractButton * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractButton;
|
||||
p->type = QT_TYPE_QAbstractButton;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -83,6 +83,7 @@ typedef struct
|
||||
QPointer< QAbstractItemDelegate > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractItemDelegate;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractItemDelegate )
|
||||
@@ -103,6 +104,7 @@ void * hbqt_gcAllocate_QAbstractItemDelegate( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractItemDelegate >( ( QAbstractItemDelegate * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractItemDelegate;
|
||||
p->type = QT_TYPE_QAbstractItemDelegate;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -90,6 +90,7 @@ typedef struct
|
||||
QPointer< QAbstractItemView > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractItemView;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractItemView )
|
||||
@@ -110,6 +111,7 @@ void * hbqt_gcAllocate_QAbstractItemView( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractItemView >( ( QAbstractItemView * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractItemView;
|
||||
p->type = QT_TYPE_QAbstractItemView;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -94,6 +94,7 @@ typedef struct
|
||||
QPointer< QAbstractPrintDialog > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractPrintDialog;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractPrintDialog )
|
||||
@@ -114,6 +115,7 @@ void * hbqt_gcAllocate_QAbstractPrintDialog( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractPrintDialog >( ( QAbstractPrintDialog * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractPrintDialog;
|
||||
p->type = QT_TYPE_QAbstractPrintDialog;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -79,6 +79,7 @@ typedef struct
|
||||
QPointer< QAbstractProxyModel > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractProxyModel;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractProxyModel )
|
||||
@@ -99,6 +100,7 @@ void * hbqt_gcAllocate_QAbstractProxyModel( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractProxyModel >( ( QAbstractProxyModel * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractProxyModel;
|
||||
p->type = QT_TYPE_QAbstractProxyModel;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< QAbstractScrollArea > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractScrollArea;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractScrollArea )
|
||||
@@ -100,6 +101,7 @@ void * hbqt_gcAllocate_QAbstractScrollArea( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractScrollArea >( ( QAbstractScrollArea * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractScrollArea;
|
||||
p->type = QT_TYPE_QAbstractScrollArea;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -84,6 +84,7 @@ typedef struct
|
||||
QPointer< QAbstractSlider > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractSlider;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractSlider )
|
||||
@@ -104,6 +105,7 @@ void * hbqt_gcAllocate_QAbstractSlider( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractSlider >( ( QAbstractSlider * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractSlider;
|
||||
p->type = QT_TYPE_QAbstractSlider;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -87,6 +87,7 @@ typedef struct
|
||||
QPointer< QAbstractSpinBox > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractSpinBox;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractSpinBox )
|
||||
@@ -107,6 +108,7 @@ void * hbqt_gcAllocate_QAbstractSpinBox( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractSpinBox >( ( QAbstractSpinBox * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractSpinBox;
|
||||
p->type = QT_TYPE_QAbstractSpinBox;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -79,6 +79,7 @@ typedef struct
|
||||
QPointer< QAbstractTextDocumentLayout > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAbstractTextDocumentLayout;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAbstractTextDocumentLayout )
|
||||
@@ -99,6 +100,7 @@ void * hbqt_gcAllocate_QAbstractTextDocumentLayout( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAbstractTextDocumentLayout >( ( QAbstractTextDocumentLayout * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAbstractTextDocumentLayout;
|
||||
p->type = QT_TYPE_QAbstractTextDocumentLayout;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -100,6 +100,7 @@ typedef struct
|
||||
QPointer< QAction > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QAction;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QAction )
|
||||
@@ -146,6 +147,7 @@ void * hbqt_gcAllocate_QAction( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QAction >( ( QAction * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QAction;
|
||||
p->type = QT_TYPE_QAction;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -79,6 +79,7 @@ typedef struct
|
||||
QPointer< QActionGroup > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QActionGroup;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QActionGroup )
|
||||
@@ -125,6 +126,7 @@ void * hbqt_gcAllocate_QActionGroup( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QActionGroup >( ( QActionGroup * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QActionGroup;
|
||||
p->type = QT_TYPE_QActionGroup;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -162,6 +162,7 @@ typedef struct
|
||||
QPointer< QApplication > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QApplication;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QApplication )
|
||||
@@ -182,6 +183,7 @@ void * hbqt_gcAllocate_QApplication( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QApplication >( ( QApplication * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QApplication;
|
||||
p->type = QT_TYPE_QApplication;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -84,6 +84,7 @@ typedef struct
|
||||
QBitmap * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QBitmap;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QBitmap )
|
||||
@@ -119,6 +120,7 @@ void * hbqt_gcAllocate_QBitmap( void * pObj, bool bNew )
|
||||
p->ph = ( QBitmap * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QBitmap;
|
||||
p->type = QT_TYPE_QBitmap;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -95,6 +95,7 @@ typedef struct
|
||||
QPointer< QBoxLayout > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QBoxLayout;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QBoxLayout )
|
||||
@@ -141,6 +142,7 @@ void * hbqt_gcAllocate_QBoxLayout( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QBoxLayout >( ( QBoxLayout * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QBoxLayout;
|
||||
p->type = QT_TYPE_QBoxLayout;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -89,6 +89,7 @@ typedef struct
|
||||
QBrush * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QBrush;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QBrush )
|
||||
@@ -124,6 +125,7 @@ void * hbqt_gcAllocate_QBrush( void * pObj, bool bNew )
|
||||
p->ph = ( QBrush * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QBrush;
|
||||
p->type = QT_TYPE_QBrush;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< QButtonGroup > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QButtonGroup;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QButtonGroup )
|
||||
@@ -126,6 +127,7 @@ void * hbqt_gcAllocate_QButtonGroup( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QButtonGroup >( ( QButtonGroup * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QButtonGroup;
|
||||
p->type = QT_TYPE_QButtonGroup;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -95,6 +95,7 @@ typedef struct
|
||||
QPointer< QCalendarWidget > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QCalendarWidget;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QCalendarWidget )
|
||||
@@ -141,6 +142,7 @@ void * hbqt_gcAllocate_QCalendarWidget( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QCalendarWidget >( ( QCalendarWidget * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QCalendarWidget;
|
||||
p->type = QT_TYPE_QCalendarWidget;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< QCheckBox > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QCheckBox;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QCheckBox )
|
||||
@@ -126,6 +127,7 @@ void * hbqt_gcAllocate_QCheckBox( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QCheckBox >( ( QCheckBox * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QCheckBox;
|
||||
p->type = QT_TYPE_QCheckBox;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -86,6 +86,7 @@ typedef struct
|
||||
QPointer< QClipboard > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QClipboard;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QClipboard )
|
||||
@@ -106,6 +107,7 @@ void * hbqt_gcAllocate_QClipboard( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QClipboard >( ( QClipboard * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QClipboard;
|
||||
p->type = QT_TYPE_QClipboard;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -89,6 +89,7 @@ typedef struct
|
||||
QColor * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QColor;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QColor )
|
||||
@@ -124,6 +125,7 @@ void * hbqt_gcAllocate_QColor( void * pObj, bool bNew )
|
||||
p->ph = ( QColor * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QColor;
|
||||
p->type = QT_TYPE_QColor;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -85,6 +85,7 @@ typedef struct
|
||||
QPointer< QColorDialog > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QColorDialog;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QColorDialog )
|
||||
@@ -131,6 +132,7 @@ void * hbqt_gcAllocate_QColorDialog( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QColorDialog >( ( QColorDialog * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QColorDialog;
|
||||
p->type = QT_TYPE_QColorDialog;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -85,6 +85,7 @@ typedef struct
|
||||
QPointer< QComboBox > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QComboBox;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QComboBox )
|
||||
@@ -131,6 +132,7 @@ void * hbqt_gcAllocate_QComboBox( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QComboBox >( ( QComboBox * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QComboBox;
|
||||
p->type = QT_TYPE_QComboBox;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -81,6 +81,7 @@ typedef struct
|
||||
QPointer< QCommandLinkButton > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QCommandLinkButton;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QCommandLinkButton )
|
||||
@@ -127,6 +128,7 @@ void * hbqt_gcAllocate_QCommandLinkButton( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QCommandLinkButton >( ( QCommandLinkButton * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QCommandLinkButton;
|
||||
p->type = QT_TYPE_QCommandLinkButton;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -79,6 +79,7 @@ typedef struct
|
||||
QPointer< QCommonStyle > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QCommonStyle;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QCommonStyle )
|
||||
@@ -125,6 +126,7 @@ void * hbqt_gcAllocate_QCommonStyle( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QCommonStyle >( ( QCommonStyle * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QCommonStyle;
|
||||
p->type = QT_TYPE_QCommonStyle;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -86,6 +86,7 @@ typedef struct
|
||||
QPointer< QCompleter > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QCompleter;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QCompleter )
|
||||
@@ -132,6 +133,7 @@ void * hbqt_gcAllocate_QCompleter( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QCompleter >( ( QCompleter * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QCompleter;
|
||||
p->type = QT_TYPE_QCompleter;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -87,6 +87,7 @@ typedef struct
|
||||
QConicalGradient * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QConicalGradient;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QConicalGradient )
|
||||
@@ -122,6 +123,7 @@ void * hbqt_gcAllocate_QConicalGradient( void * pObj, bool bNew )
|
||||
p->ph = ( QConicalGradient * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QConicalGradient;
|
||||
p->type = QT_TYPE_QConicalGradient;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -84,6 +84,7 @@ typedef struct
|
||||
QContextMenuEvent * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QContextMenuEvent;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QContextMenuEvent )
|
||||
@@ -119,6 +120,7 @@ void * hbqt_gcAllocate_QContextMenuEvent( void * pObj, bool bNew )
|
||||
p->ph = ( QContextMenuEvent * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QContextMenuEvent;
|
||||
p->type = QT_TYPE_QContextMenuEvent;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -87,6 +87,7 @@ typedef struct
|
||||
QCursor * ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QCursor;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QCursor )
|
||||
@@ -122,6 +123,7 @@ void * hbqt_gcAllocate_QCursor( void * pObj, bool bNew )
|
||||
p->ph = ( QCursor * ) pObj;
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QCursor;
|
||||
p->type = QT_TYPE_QCursor;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct
|
||||
QPointer< QDateEdit > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QDateEdit;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QDateEdit )
|
||||
@@ -126,6 +127,7 @@ void * hbqt_gcAllocate_QDateEdit( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QDateEdit >( ( QDateEdit * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QDateEdit;
|
||||
p->type = QT_TYPE_QDateEdit;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
@@ -87,6 +87,7 @@ typedef struct
|
||||
QPointer< QDateTimeEdit > ph;
|
||||
bool bNew;
|
||||
QT_G_FUNC_PTR func;
|
||||
int type;
|
||||
} QGC_POINTER_QDateTimeEdit;
|
||||
|
||||
QT_G_FUNC( hbqt_gcRelease_QDateTimeEdit )
|
||||
@@ -133,6 +134,7 @@ void * hbqt_gcAllocate_QDateTimeEdit( void * pObj, bool bNew )
|
||||
new( & p->ph ) QPointer< QDateTimeEdit >( ( QDateTimeEdit * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QDateTimeEdit;
|
||||
p->type = QT_TYPE_QDateTimeEdit;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user