Exemple #1
0
func _DirectQtDrv(p unsafe.Pointer, typeid, funcid int32, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12 unsafe.Pointer) error {
	r := C.qtdrv(p, C.int(typeid), C.int(funcid), p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12)
	if r != 0 {
		fnErrHandler(Error(r), typeid, funcid, 4)
		return Error(r)
	}
	return nil
}
Exemple #2
0
//QList<QModelIndex> => []*QModelIndex
func drvGetModelIndexArray(p unsafe.Pointer, cp unsafe.Pointer, id uint32) error {
	C.qtdrv(p, 1, 103, cp, unsafe.Pointer(&id), nil, nil, nil, nil, nil, nil, nil, nil, nil, nil)
	return nil
}
Exemple #3
0
//QList<QRectF> => []*QRectF
func drvGetRectFArray(p unsafe.Pointer, cp unsafe.Pointer, id uint32) error {
	C.qtdrv(p, 1, 102, cp, unsafe.Pointer(&id), nil, nil, nil, nil, nil, nil, nil, nil, nil, nil)
	return nil
}
Exemple #4
0
//QStringList => []string
func drvGetStringArray(p unsafe.Pointer, cp unsafe.Pointer) error {
	C.qtdrv(p, 1, 101, cp, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil)
	return nil
}
Exemple #5
0
//string,T => QMap
func drvInsertMapCb(cp, k, v, cb unsafe.Pointer) {
	C.qtdrv(cp, 1, 104, k, v, cb, nil, nil, nil, nil, nil, nil, nil, nil, nil)
}