mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
qt: rebuild (qt5.15.8+dfsg-11+deb12u2)
This commit is contained in:
parent
de0fb12cfe
commit
db74fef950
@ -28,6 +28,9 @@ func (this *QAbstractAnimation) cPointer() *C.QAbstractAnimation {
|
||||
}
|
||||
|
||||
func newQAbstractAnimation(h *C.QAbstractAnimation) *QAbstractAnimation {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractAnimation{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -260,6 +263,9 @@ func (this *QAnimationDriver) cPointer() *C.QAnimationDriver {
|
||||
}
|
||||
|
||||
func newQAnimationDriver(h *C.QAnimationDriver) *QAnimationDriver {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAnimationDriver{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QAbstractButton) cPointer() *C.QAbstractButton {
|
||||
}
|
||||
|
||||
func newQAbstractButton(h *C.QAbstractButton) *QAbstractButton {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractButton{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QAbstractEventDispatcher) cPointer() *C.QAbstractEventDispatcher {
|
||||
}
|
||||
|
||||
func newQAbstractEventDispatcher(h *C.QAbstractEventDispatcher) *QAbstractEventDispatcher {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractEventDispatcher{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -247,6 +250,9 @@ func (this *QAbstractEventDispatcher__TimerInfo) cPointer() *C.QAbstractEventDis
|
||||
}
|
||||
|
||||
func newQAbstractEventDispatcher__TimerInfo(h *C.QAbstractEventDispatcher__TimerInfo) *QAbstractEventDispatcher__TimerInfo {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractEventDispatcher__TimerInfo{h: h}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QAbstractItemDelegate) cPointer() *C.QAbstractItemDelegate {
|
||||
}
|
||||
|
||||
func newQAbstractItemDelegate(h *C.QAbstractItemDelegate) *QAbstractItemDelegate {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractItemDelegate{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QModelIndex) cPointer() *C.QModelIndex {
|
||||
}
|
||||
|
||||
func newQModelIndex(h *C.QModelIndex) *QModelIndex {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QModelIndex{h: h}
|
||||
}
|
||||
|
||||
@ -185,6 +188,9 @@ func (this *QPersistentModelIndex) cPointer() *C.QPersistentModelIndex {
|
||||
}
|
||||
|
||||
func newQPersistentModelIndex(h *C.QPersistentModelIndex) *QPersistentModelIndex {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QPersistentModelIndex{h: h}
|
||||
}
|
||||
|
||||
@ -349,6 +355,9 @@ func (this *QAbstractItemModel) cPointer() *C.QAbstractItemModel {
|
||||
}
|
||||
|
||||
func newQAbstractItemModel(h *C.QAbstractItemModel) *QAbstractItemModel {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractItemModel{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -946,6 +955,9 @@ func (this *QAbstractTableModel) cPointer() *C.QAbstractTableModel {
|
||||
}
|
||||
|
||||
func newQAbstractTableModel(h *C.QAbstractTableModel) *QAbstractTableModel {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractTableModel{h: h, QAbstractItemModel: newQAbstractItemModel_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1092,6 +1104,9 @@ func (this *QAbstractListModel) cPointer() *C.QAbstractListModel {
|
||||
}
|
||||
|
||||
func newQAbstractListModel(h *C.QAbstractListModel) *QAbstractListModel {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractListModel{h: h, QAbstractItemModel: newQAbstractItemModel_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QAbstractItemView) cPointer() *C.QAbstractItemView {
|
||||
}
|
||||
|
||||
func newQAbstractItemView(h *C.QAbstractItemView) *QAbstractItemView {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractItemView{h: h, QAbstractScrollArea: newQAbstractScrollArea_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QAbstractNativeEventFilter) cPointer() *C.QAbstractNativeEventFilter
|
||||
}
|
||||
|
||||
func newQAbstractNativeEventFilter(h *C.QAbstractNativeEventFilter) *QAbstractNativeEventFilter {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractNativeEventFilter{h: h}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QAbstractProxyModel) cPointer() *C.QAbstractProxyModel {
|
||||
}
|
||||
|
||||
func newQAbstractProxyModel(h *C.QAbstractProxyModel) *QAbstractProxyModel {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractProxyModel{h: h, QAbstractItemModel: newQAbstractItemModel_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QAbstractScrollArea) cPointer() *C.QAbstractScrollArea {
|
||||
}
|
||||
|
||||
func newQAbstractScrollArea(h *C.QAbstractScrollArea) *QAbstractScrollArea {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractScrollArea{h: h, QFrame: newQFrame_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QAbstractSlider) cPointer() *C.QAbstractSlider {
|
||||
}
|
||||
|
||||
func newQAbstractSlider(h *C.QAbstractSlider) *QAbstractSlider {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractSlider{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QAbstractSpinBox) cPointer() *C.QAbstractSpinBox {
|
||||
}
|
||||
|
||||
func newQAbstractSpinBox(h *C.QAbstractSpinBox) *QAbstractSpinBox {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractSpinBox{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QAbstractState) cPointer() *C.QAbstractState {
|
||||
}
|
||||
|
||||
func newQAbstractState(h *C.QAbstractState) *QAbstractState {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractState{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QAbstractTextDocumentLayout) cPointer() *C.QAbstractTextDocumentLayo
|
||||
}
|
||||
|
||||
func newQAbstractTextDocumentLayout(h *C.QAbstractTextDocumentLayout) *QAbstractTextDocumentLayout {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractTextDocumentLayout{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -296,6 +299,9 @@ func (this *QTextObjectInterface) cPointer() *C.QTextObjectInterface {
|
||||
}
|
||||
|
||||
func newQTextObjectInterface(h *C.QTextObjectInterface) *QTextObjectInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QTextObjectInterface{h: h}
|
||||
}
|
||||
|
||||
@ -334,6 +340,9 @@ func (this *QAbstractTextDocumentLayout__Selection) cPointer() *C.QAbstractTextD
|
||||
}
|
||||
|
||||
func newQAbstractTextDocumentLayout__Selection(h *C.QAbstractTextDocumentLayout__Selection) *QAbstractTextDocumentLayout__Selection {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractTextDocumentLayout__Selection{h: h}
|
||||
}
|
||||
|
||||
@ -363,6 +372,9 @@ func (this *QAbstractTextDocumentLayout__PaintContext) cPointer() *C.QAbstractTe
|
||||
}
|
||||
|
||||
func newQAbstractTextDocumentLayout__PaintContext(h *C.QAbstractTextDocumentLayout__PaintContext) *QAbstractTextDocumentLayout__PaintContext {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractTextDocumentLayout__PaintContext{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QAbstractTransition) cPointer() *C.QAbstractTransition {
|
||||
}
|
||||
|
||||
func newQAbstractTransition(h *C.QAbstractTransition) *QAbstractTransition {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAbstractTransition{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QAccessible) cPointer() *C.QAccessible {
|
||||
}
|
||||
|
||||
func newQAccessible(h *C.QAccessible) *QAccessible {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessible{h: h}
|
||||
}
|
||||
|
||||
@ -103,6 +106,9 @@ func (this *QAccessibleInterface) cPointer() *C.QAccessibleInterface {
|
||||
}
|
||||
|
||||
func newQAccessibleInterface(h *C.QAccessibleInterface) *QAccessibleInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleInterface{h: h}
|
||||
}
|
||||
|
||||
@ -266,6 +272,9 @@ func (this *QAccessibleTextInterface) cPointer() *C.QAccessibleTextInterface {
|
||||
}
|
||||
|
||||
func newQAccessibleTextInterface(h *C.QAccessibleTextInterface) *QAccessibleTextInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleTextInterface{h: h}
|
||||
}
|
||||
|
||||
@ -393,6 +402,9 @@ func (this *QAccessibleEditableTextInterface) cPointer() *C.QAccessibleEditableT
|
||||
}
|
||||
|
||||
func newQAccessibleEditableTextInterface(h *C.QAccessibleEditableTextInterface) *QAccessibleEditableTextInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleEditableTextInterface{h: h}
|
||||
}
|
||||
|
||||
@ -436,6 +448,9 @@ func (this *QAccessibleValueInterface) cPointer() *C.QAccessibleValueInterface {
|
||||
}
|
||||
|
||||
func newQAccessibleValueInterface(h *C.QAccessibleValueInterface) *QAccessibleValueInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleValueInterface{h: h}
|
||||
}
|
||||
|
||||
@ -511,6 +526,9 @@ func (this *QAccessibleTableCellInterface) cPointer() *C.QAccessibleTableCellInt
|
||||
}
|
||||
|
||||
func newQAccessibleTableCellInterface(h *C.QAccessibleTableCellInterface) *QAccessibleTableCellInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleTableCellInterface{h: h}
|
||||
}
|
||||
|
||||
@ -594,6 +612,9 @@ func (this *QAccessibleTableInterface) cPointer() *C.QAccessibleTableInterface {
|
||||
}
|
||||
|
||||
func newQAccessibleTableInterface(h *C.QAccessibleTableInterface) *QAccessibleTableInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleTableInterface{h: h}
|
||||
}
|
||||
|
||||
@ -748,6 +769,9 @@ func (this *QAccessibleActionInterface) cPointer() *C.QAccessibleActionInterface
|
||||
}
|
||||
|
||||
func newQAccessibleActionInterface(h *C.QAccessibleActionInterface) *QAccessibleActionInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleActionInterface{h: h}
|
||||
}
|
||||
|
||||
@ -1017,6 +1041,9 @@ func (this *QAccessibleImageInterface) cPointer() *C.QAccessibleImageInterface {
|
||||
}
|
||||
|
||||
func newQAccessibleImageInterface(h *C.QAccessibleImageInterface) *QAccessibleImageInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleImageInterface{h: h}
|
||||
}
|
||||
|
||||
@ -1075,6 +1102,9 @@ func (this *QAccessibleEvent) cPointer() *C.QAccessibleEvent {
|
||||
}
|
||||
|
||||
func newQAccessibleEvent(h *C.QAccessibleEvent) *QAccessibleEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleEvent{h: h}
|
||||
}
|
||||
|
||||
@ -1140,6 +1170,9 @@ func (this *QAccessibleStateChangeEvent) cPointer() *C.QAccessibleStateChangeEve
|
||||
}
|
||||
|
||||
func newQAccessibleStateChangeEvent(h *C.QAccessibleStateChangeEvent) *QAccessibleStateChangeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleStateChangeEvent{h: h, QAccessibleEvent: newQAccessibleEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1187,6 +1220,9 @@ func (this *QAccessibleTextCursorEvent) cPointer() *C.QAccessibleTextCursorEvent
|
||||
}
|
||||
|
||||
func newQAccessibleTextCursorEvent(h *C.QAccessibleTextCursorEvent) *QAccessibleTextCursorEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleTextCursorEvent{h: h, QAccessibleEvent: newQAccessibleEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1232,6 +1268,9 @@ func (this *QAccessibleTextSelectionEvent) cPointer() *C.QAccessibleTextSelectio
|
||||
}
|
||||
|
||||
func newQAccessibleTextSelectionEvent(h *C.QAccessibleTextSelectionEvent) *QAccessibleTextSelectionEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleTextSelectionEvent{h: h, QAccessibleTextCursorEvent: newQAccessibleTextCursorEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1282,6 +1321,9 @@ func (this *QAccessibleTextInsertEvent) cPointer() *C.QAccessibleTextInsertEvent
|
||||
}
|
||||
|
||||
func newQAccessibleTextInsertEvent(h *C.QAccessibleTextInsertEvent) *QAccessibleTextInsertEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleTextInsertEvent{h: h, QAccessibleTextCursorEvent: newQAccessibleTextCursorEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1336,6 +1378,9 @@ func (this *QAccessibleTextRemoveEvent) cPointer() *C.QAccessibleTextRemoveEvent
|
||||
}
|
||||
|
||||
func newQAccessibleTextRemoveEvent(h *C.QAccessibleTextRemoveEvent) *QAccessibleTextRemoveEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleTextRemoveEvent{h: h, QAccessibleTextCursorEvent: newQAccessibleTextCursorEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1390,6 +1435,9 @@ func (this *QAccessibleTextUpdateEvent) cPointer() *C.QAccessibleTextUpdateEvent
|
||||
}
|
||||
|
||||
func newQAccessibleTextUpdateEvent(h *C.QAccessibleTextUpdateEvent) *QAccessibleTextUpdateEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleTextUpdateEvent{h: h, QAccessibleTextCursorEvent: newQAccessibleTextCursorEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1457,6 +1505,9 @@ func (this *QAccessibleValueChangeEvent) cPointer() *C.QAccessibleValueChangeEve
|
||||
}
|
||||
|
||||
func newQAccessibleValueChangeEvent(h *C.QAccessibleValueChangeEvent) *QAccessibleValueChangeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleValueChangeEvent{h: h, QAccessibleEvent: newQAccessibleEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1508,6 +1559,9 @@ func (this *QAccessibleTableModelChangeEvent) cPointer() *C.QAccessibleTableMode
|
||||
}
|
||||
|
||||
func newQAccessibleTableModelChangeEvent(h *C.QAccessibleTableModelChangeEvent) *QAccessibleTableModelChangeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleTableModelChangeEvent{h: h, QAccessibleEvent: newQAccessibleEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1588,6 +1642,9 @@ func (this *QAccessible__State) cPointer() *C.QAccessible__State {
|
||||
}
|
||||
|
||||
func newQAccessible__State(h *C.QAccessible__State) *QAccessible__State {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessible__State{h: h}
|
||||
}
|
||||
|
||||
@ -1623,6 +1680,9 @@ func (this *QAccessible__ActivationObserver) cPointer() *C.QAccessible__Activati
|
||||
}
|
||||
|
||||
func newQAccessible__ActivationObserver(h *C.QAccessible__ActivationObserver) *QAccessible__ActivationObserver {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessible__ActivationObserver{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QAccessibleBridge) cPointer() *C.QAccessibleBridge {
|
||||
}
|
||||
|
||||
func newQAccessibleBridge(h *C.QAccessibleBridge) *QAccessibleBridge {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleBridge{h: h}
|
||||
}
|
||||
|
||||
@ -62,6 +65,9 @@ func (this *QAccessibleBridgePlugin) cPointer() *C.QAccessibleBridgePlugin {
|
||||
}
|
||||
|
||||
func newQAccessibleBridgePlugin(h *C.QAccessibleBridgePlugin) *QAccessibleBridgePlugin {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleBridgePlugin{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QAccessibleObject) cPointer() *C.QAccessibleObject {
|
||||
}
|
||||
|
||||
func newQAccessibleObject(h *C.QAccessibleObject) *QAccessibleObject {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleObject{h: h, QAccessibleInterface: newQAccessibleInterface_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -80,6 +83,9 @@ func (this *QAccessibleApplication) cPointer() *C.QAccessibleApplication {
|
||||
}
|
||||
|
||||
func newQAccessibleApplication(h *C.QAccessibleApplication) *QAccessibleApplication {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleApplication{h: h, QAccessibleObject: newQAccessibleObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QAccessiblePlugin) cPointer() *C.QAccessiblePlugin {
|
||||
}
|
||||
|
||||
func newQAccessiblePlugin(h *C.QAccessiblePlugin) *QAccessiblePlugin {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessiblePlugin{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QAccessibleWidget) cPointer() *C.QAccessibleWidget {
|
||||
}
|
||||
|
||||
func newQAccessibleWidget(h *C.QAccessibleWidget) *QAccessibleWidget {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAccessibleWidget{h: h, QAccessibleObject: newQAccessibleObject_U(unsafe.Pointer(h)), QAccessibleActionInterface: newQAccessibleActionInterface_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QAction) cPointer() *C.QAction {
|
||||
}
|
||||
|
||||
func newQAction(h *C.QAction) *QAction {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAction{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QActionGroup) cPointer() *C.QActionGroup {
|
||||
}
|
||||
|
||||
func newQActionGroup(h *C.QActionGroup) *QActionGroup {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QActionGroup{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QAnimationGroup) cPointer() *C.QAnimationGroup {
|
||||
}
|
||||
|
||||
func newQAnimationGroup(h *C.QAnimationGroup) *QAnimationGroup {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QAnimationGroup{h: h, QAbstractAnimation: newQAbstractAnimation_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QApplication) cPointer() *C.QApplication {
|
||||
}
|
||||
|
||||
func newQApplication(h *C.QApplication) *QApplication {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QApplication{h: h, QGuiApplication: newQGuiApplication_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QArrayData) cPointer() *C.QArrayData {
|
||||
}
|
||||
|
||||
func newQArrayData(h *C.QArrayData) *QArrayData {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QArrayData{h: h}
|
||||
}
|
||||
|
||||
@ -98,6 +101,9 @@ func (this *QtPrivate__QContainerImplHelper) cPointer() *C.QtPrivate__QContainer
|
||||
}
|
||||
|
||||
func newQtPrivate__QContainerImplHelper(h *C.QtPrivate__QContainerImplHelper) *QtPrivate__QContainerImplHelper {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QtPrivate__QContainerImplHelper{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QBackingStore) cPointer() *C.QBackingStore {
|
||||
}
|
||||
|
||||
func newQBackingStore(h *C.QBackingStore) *QBackingStore {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QBackingStore{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QBasicTimer) cPointer() *C.QBasicTimer {
|
||||
}
|
||||
|
||||
func newQBasicTimer(h *C.QBasicTimer) *QBasicTimer {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QBasicTimer{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QBitArray) cPointer() *C.QBitArray {
|
||||
}
|
||||
|
||||
func newQBitArray(h *C.QBitArray) *QBitArray {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QBitArray{h: h}
|
||||
}
|
||||
|
||||
@ -252,6 +255,9 @@ func (this *QBitRef) cPointer() *C.QBitRef {
|
||||
}
|
||||
|
||||
func newQBitRef(h *C.QBitRef) *QBitRef {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QBitRef{h: h}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QBitmap) cPointer() *C.QBitmap {
|
||||
}
|
||||
|
||||
func newQBitmap(h *C.QBitmap) *QBitmap {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QBitmap{h: h, QPixmap: newQPixmap_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QBoxLayout) cPointer() *C.QBoxLayout {
|
||||
}
|
||||
|
||||
func newQBoxLayout(h *C.QBoxLayout) *QBoxLayout {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QBoxLayout{h: h, QLayout: newQLayout_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -340,6 +343,9 @@ func (this *QHBoxLayout) cPointer() *C.QHBoxLayout {
|
||||
}
|
||||
|
||||
func newQHBoxLayout(h *C.QHBoxLayout) *QHBoxLayout {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QHBoxLayout{h: h, QBoxLayout: newQBoxLayout_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -455,6 +461,9 @@ func (this *QVBoxLayout) cPointer() *C.QVBoxLayout {
|
||||
}
|
||||
|
||||
func newQVBoxLayout(h *C.QVBoxLayout) *QVBoxLayout {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QVBoxLayout{h: h, QBoxLayout: newQBoxLayout_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QBrush) cPointer() *C.QBrush {
|
||||
}
|
||||
|
||||
func newQBrush(h *C.QBrush) *QBrush {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QBrush{h: h}
|
||||
}
|
||||
|
||||
@ -231,6 +234,9 @@ func (this *QBrushData) cPointer() *C.QBrushData {
|
||||
}
|
||||
|
||||
func newQBrushData(h *C.QBrushData) *QBrushData {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QBrushData{h: h}
|
||||
}
|
||||
|
||||
@ -264,6 +270,9 @@ func (this *QGradient) cPointer() *C.QGradient {
|
||||
}
|
||||
|
||||
func newQGradient(h *C.QGradient) *QGradient {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QGradient{h: h}
|
||||
}
|
||||
|
||||
@ -352,6 +361,9 @@ func (this *QLinearGradient) cPointer() *C.QLinearGradient {
|
||||
}
|
||||
|
||||
func newQLinearGradient(h *C.QLinearGradient) *QLinearGradient {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QLinearGradient{h: h, QGradient: newQGradient_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -438,6 +450,9 @@ func (this *QRadialGradient) cPointer() *C.QRadialGradient {
|
||||
}
|
||||
|
||||
func newQRadialGradient(h *C.QRadialGradient) *QRadialGradient {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QRadialGradient{h: h, QGradient: newQGradient_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -575,6 +590,9 @@ func (this *QConicalGradient) cPointer() *C.QConicalGradient {
|
||||
}
|
||||
|
||||
func newQConicalGradient(h *C.QConicalGradient) *QConicalGradient {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QConicalGradient{h: h, QGradient: newQGradient_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -650,6 +668,9 @@ func (this *QGradient__QGradientData) cPointer() *C.QGradient__QGradientData {
|
||||
}
|
||||
|
||||
func newQGradient__QGradientData(h *C.QGradient__QGradientData) *QGradient__QGradientData {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QGradient__QGradientData{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QBuffer) cPointer() *C.QBuffer {
|
||||
}
|
||||
|
||||
func newQBuffer(h *C.QBuffer) *QBuffer {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QBuffer{h: h, QIODevice: newQIODevice_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QButtonGroup) cPointer() *C.QButtonGroup {
|
||||
}
|
||||
|
||||
func newQButtonGroup(h *C.QButtonGroup) *QButtonGroup {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QButtonGroup{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QByteArrayDataPtr) cPointer() *C.QByteArrayDataPtr {
|
||||
}
|
||||
|
||||
func newQByteArrayDataPtr(h *C.QByteArrayDataPtr) *QByteArrayDataPtr {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QByteArrayDataPtr{h: h}
|
||||
}
|
||||
|
||||
@ -62,6 +65,9 @@ func (this *QByteArray) cPointer() *C.QByteArray {
|
||||
}
|
||||
|
||||
func newQByteArray(h *C.QByteArray) *QByteArray {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QByteArray{h: h}
|
||||
}
|
||||
|
||||
@ -1570,6 +1576,9 @@ func (this *QByteRef) cPointer() *C.QByteRef {
|
||||
}
|
||||
|
||||
func newQByteRef(h *C.QByteRef) *QByteRef {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QByteRef{h: h}
|
||||
}
|
||||
|
||||
@ -1637,6 +1646,9 @@ func (this *QByteArray__FromBase64Result) cPointer() *C.QByteArray__FromBase64Re
|
||||
}
|
||||
|
||||
func newQByteArray__FromBase64Result(h *C.QByteArray__FromBase64Result) *QByteArray__FromBase64Result {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QByteArray__FromBase64Result{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QByteArrayMatcher) cPointer() *C.QByteArrayMatcher {
|
||||
}
|
||||
|
||||
func newQByteArrayMatcher(h *C.QByteArrayMatcher) *QByteArrayMatcher {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QByteArrayMatcher{h: h}
|
||||
}
|
||||
|
||||
@ -119,6 +122,9 @@ func (this *QStaticByteArrayMatcherBase) cPointer() *C.QStaticByteArrayMatcherBa
|
||||
}
|
||||
|
||||
func newQStaticByteArrayMatcherBase(h *C.QStaticByteArrayMatcherBase) *QStaticByteArrayMatcherBase {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QStaticByteArrayMatcherBase{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCalendar) cPointer() *C.QCalendar {
|
||||
}
|
||||
|
||||
func newQCalendar(h *C.QCalendar) *QCalendar {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCalendar{h: h}
|
||||
}
|
||||
|
||||
@ -294,6 +297,9 @@ func (this *QCalendar__YearMonthDay) cPointer() *C.QCalendar__YearMonthDay {
|
||||
}
|
||||
|
||||
func newQCalendar__YearMonthDay(h *C.QCalendar__YearMonthDay) *QCalendar__YearMonthDay {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCalendar__YearMonthDay{h: h}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QCalendarWidget) cPointer() *C.QCalendarWidget {
|
||||
}
|
||||
|
||||
func newQCalendarWidget(h *C.QCalendarWidget) *QCalendarWidget {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCalendarWidget{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCborArray) cPointer() *C.QCborArray {
|
||||
}
|
||||
|
||||
func newQCborArray(h *C.QCborArray) *QCborArray {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborArray{h: h}
|
||||
}
|
||||
|
||||
@ -494,6 +497,9 @@ func (this *QCborArray__Iterator) cPointer() *C.QCborArray__Iterator {
|
||||
}
|
||||
|
||||
func newQCborArray__Iterator(h *C.QCborArray__Iterator) *QCborArray__Iterator {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborArray__Iterator{h: h}
|
||||
}
|
||||
|
||||
@ -665,6 +671,9 @@ func (this *QCborArray__ConstIterator) cPointer() *C.QCborArray__ConstIterator {
|
||||
}
|
||||
|
||||
func newQCborArray__ConstIterator(h *C.QCborArray__ConstIterator) *QCborArray__ConstIterator {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborArray__ConstIterator{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QCborError) cPointer() *C.QCborError {
|
||||
}
|
||||
|
||||
func newQCborError(h *C.QCborError) *QCborError {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborError{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCborMap) cPointer() *C.QCborMap {
|
||||
}
|
||||
|
||||
func newQCborMap(h *C.QCborMap) *QCborMap {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborMap{h: h}
|
||||
}
|
||||
|
||||
@ -598,6 +601,9 @@ func (this *QCborMap__Iterator) cPointer() *C.QCborMap__Iterator {
|
||||
}
|
||||
|
||||
func newQCborMap__Iterator(h *C.QCborMap__Iterator) *QCborMap__Iterator {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborMap__Iterator{h: h}
|
||||
}
|
||||
|
||||
@ -769,6 +775,9 @@ func (this *QCborMap__ConstIterator) cPointer() *C.QCborMap__ConstIterator {
|
||||
}
|
||||
|
||||
func newQCborMap__ConstIterator(h *C.QCborMap__ConstIterator) *QCborMap__ConstIterator {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborMap__ConstIterator{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCborStreamReader) cPointer() *C.QCborStreamReader {
|
||||
}
|
||||
|
||||
func newQCborStreamReader(h *C.QCborStreamReader) *QCborStreamReader {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborStreamReader{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QCborStreamWriter) cPointer() *C.QCborStreamWriter {
|
||||
}
|
||||
|
||||
func newQCborStreamWriter(h *C.QCborStreamWriter) *QCborStreamWriter {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborStreamWriter{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCborParserError) cPointer() *C.QCborParserError {
|
||||
}
|
||||
|
||||
func newQCborParserError(h *C.QCborParserError) *QCborParserError {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborParserError{h: h}
|
||||
}
|
||||
|
||||
@ -59,6 +62,9 @@ func (this *QCborValue) cPointer() *C.QCborValue {
|
||||
}
|
||||
|
||||
func newQCborValue(h *C.QCborValue) *QCborValue {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborValue{h: h}
|
||||
}
|
||||
|
||||
@ -763,6 +769,9 @@ func (this *QCborValueRef) cPointer() *C.QCborValueRef {
|
||||
}
|
||||
|
||||
func newQCborValueRef(h *C.QCborValueRef) *QCborValueRef {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCborValueRef{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QLatin1Char) cPointer() *C.QLatin1Char {
|
||||
}
|
||||
|
||||
func newQLatin1Char(h *C.QLatin1Char) *QLatin1Char {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QLatin1Char{h: h}
|
||||
}
|
||||
|
||||
@ -72,6 +75,9 @@ func (this *QChar) cPointer() *C.QChar {
|
||||
}
|
||||
|
||||
func newQChar(h *C.QChar) *QChar {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QChar{h: h}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QCheckBox) cPointer() *C.QCheckBox {
|
||||
}
|
||||
|
||||
func newQCheckBox(h *C.QCheckBox) *QCheckBox {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCheckBox{h: h, QAbstractButton: newQAbstractButton_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QClipboard) cPointer() *C.QClipboard {
|
||||
}
|
||||
|
||||
func newQClipboard(h *C.QClipboard) *QClipboard {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QClipboard{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCollatorSortKey) cPointer() *C.QCollatorSortKey {
|
||||
}
|
||||
|
||||
func newQCollatorSortKey(h *C.QCollatorSortKey) *QCollatorSortKey {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCollatorSortKey{h: h}
|
||||
}
|
||||
|
||||
@ -69,6 +72,9 @@ func (this *QCollator) cPointer() *C.QCollator {
|
||||
}
|
||||
|
||||
func newQCollator(h *C.QCollator) *QCollator {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCollator{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QColor) cPointer() *C.QColor {
|
||||
}
|
||||
|
||||
func newQColor(h *C.QColor) *QColor {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QColor{h: h}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QColorDialog) cPointer() *C.QColorDialog {
|
||||
}
|
||||
|
||||
func newQColorDialog(h *C.QColorDialog) *QColorDialog {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QColorDialog{h: h, QDialog: newQDialog_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QColormap) cPointer() *C.QColormap {
|
||||
}
|
||||
|
||||
func newQColormap(h *C.QColormap) *QColormap {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QColormap{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QColorSpace) cPointer() *C.QColorSpace {
|
||||
}
|
||||
|
||||
func newQColorSpace(h *C.QColorSpace) *QColorSpace {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QColorSpace{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QColorTransform) cPointer() *C.QColorTransform {
|
||||
}
|
||||
|
||||
func newQColorTransform(h *C.QColorTransform) *QColorTransform {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QColorTransform{h: h}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QColumnView) cPointer() *C.QColumnView {
|
||||
}
|
||||
|
||||
func newQColumnView(h *C.QColumnView) *QColumnView {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QColumnView{h: h, QAbstractItemView: newQAbstractItemView_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QComboBox) cPointer() *C.QComboBox {
|
||||
}
|
||||
|
||||
func newQComboBox(h *C.QComboBox) *QComboBox {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QComboBox{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QCommandLineOption) cPointer() *C.QCommandLineOption {
|
||||
}
|
||||
|
||||
func newQCommandLineOption(h *C.QCommandLineOption) *QCommandLineOption {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCommandLineOption{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCommandLineParser) cPointer() *C.QCommandLineParser {
|
||||
}
|
||||
|
||||
func newQCommandLineParser(h *C.QCommandLineParser) *QCommandLineParser {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCommandLineParser{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCommandLinkButton) cPointer() *C.QCommandLinkButton {
|
||||
}
|
||||
|
||||
func newQCommandLinkButton(h *C.QCommandLinkButton) *QCommandLinkButton {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCommandLinkButton{h: h, QPushButton: newQPushButton_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QCommonStyle) cPointer() *C.QCommonStyle {
|
||||
}
|
||||
|
||||
func newQCommonStyle(h *C.QCommonStyle) *QCommonStyle {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCommonStyle{h: h, QStyle: newQStyle_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QCompleter) cPointer() *C.QCompleter {
|
||||
}
|
||||
|
||||
func newQCompleter(h *C.QCompleter) *QCompleter {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCompleter{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QConcatenateTablesProxyModel) cPointer() *C.QConcatenateTablesProxyM
|
||||
}
|
||||
|
||||
func newQConcatenateTablesProxyModel(h *C.QConcatenateTablesProxyModel) *QConcatenateTablesProxyModel {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QConcatenateTablesProxyModel{h: h, QAbstractItemModel: newQAbstractItemModel_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QContiguousCacheData) cPointer() *C.QContiguousCacheData {
|
||||
}
|
||||
|
||||
func newQContiguousCacheData(h *C.QContiguousCacheData) *QContiguousCacheData {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QContiguousCacheData{h: h}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QCoreApplication) cPointer() *C.QCoreApplication {
|
||||
}
|
||||
|
||||
func newQCoreApplication(h *C.QCoreApplication) *QCoreApplication {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCoreApplication{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QEvent) cPointer() *C.QEvent {
|
||||
}
|
||||
|
||||
func newQEvent(h *C.QEvent) *QEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QEvent{h: h}
|
||||
}
|
||||
|
||||
@ -104,6 +107,9 @@ func (this *QTimerEvent) cPointer() *C.QTimerEvent {
|
||||
}
|
||||
|
||||
func newQTimerEvent(h *C.QTimerEvent) *QTimerEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QTimerEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -145,6 +151,9 @@ func (this *QChildEvent) cPointer() *C.QChildEvent {
|
||||
}
|
||||
|
||||
func newQChildEvent(h *C.QChildEvent) *QChildEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QChildEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -201,6 +210,9 @@ func (this *QDynamicPropertyChangeEvent) cPointer() *C.QDynamicPropertyChangeEve
|
||||
}
|
||||
|
||||
func newQDynamicPropertyChangeEvent(h *C.QDynamicPropertyChangeEvent) *QDynamicPropertyChangeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDynamicPropertyChangeEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -248,6 +260,9 @@ func (this *QDeferredDeleteEvent) cPointer() *C.QDeferredDeleteEvent {
|
||||
}
|
||||
|
||||
func newQDeferredDeleteEvent(h *C.QDeferredDeleteEvent) *QDeferredDeleteEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDeferredDeleteEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCryptographicHash) cPointer() *C.QCryptographicHash {
|
||||
}
|
||||
|
||||
func newQCryptographicHash(h *C.QCryptographicHash) *QCryptographicHash {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCryptographicHash{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QCursor) cPointer() *C.QCursor {
|
||||
}
|
||||
|
||||
func newQCursor(h *C.QCursor) *QCursor {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCursor{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QDataStream) cPointer() *C.QDataStream {
|
||||
}
|
||||
|
||||
func newQDataStream(h *C.QDataStream) *QDataStream {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDataStream{h: h}
|
||||
}
|
||||
|
||||
@ -280,6 +283,9 @@ func (this *QtPrivate__StreamStateSaver) cPointer() *C.QtPrivate__StreamStateSav
|
||||
}
|
||||
|
||||
func newQtPrivate__StreamStateSaver(h *C.QtPrivate__StreamStateSaver) *QtPrivate__StreamStateSaver {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QtPrivate__StreamStateSaver{h: h}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QDataWidgetMapper) cPointer() *C.QDataWidgetMapper {
|
||||
}
|
||||
|
||||
func newQDataWidgetMapper(h *C.QDataWidgetMapper) *QDataWidgetMapper {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDataWidgetMapper{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QDate) cPointer() *C.QDate {
|
||||
}
|
||||
|
||||
func newQDate(h *C.QDate) *QDate {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDate{h: h}
|
||||
}
|
||||
|
||||
@ -574,6 +577,9 @@ func (this *QTime) cPointer() *C.QTime {
|
||||
}
|
||||
|
||||
func newQTime(h *C.QTime) *QTime {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QTime{h: h}
|
||||
}
|
||||
|
||||
@ -850,6 +856,9 @@ func (this *QDateTime) cPointer() *C.QDateTime {
|
||||
}
|
||||
|
||||
func newQDateTime(h *C.QDateTime) *QDateTime {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDateTime{h: h}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QDateTimeEdit) cPointer() *C.QDateTimeEdit {
|
||||
}
|
||||
|
||||
func newQDateTimeEdit(h *C.QDateTimeEdit) *QDateTimeEdit {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDateTimeEdit{h: h, QAbstractSpinBox: newQAbstractSpinBox_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -514,6 +517,9 @@ func (this *QTimeEdit) cPointer() *C.QTimeEdit {
|
||||
}
|
||||
|
||||
func newQTimeEdit(h *C.QTimeEdit) *QTimeEdit {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QTimeEdit{h: h, QDateTimeEdit: newQDateTimeEdit_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -653,6 +659,9 @@ func (this *QDateEdit) cPointer() *C.QDateEdit {
|
||||
}
|
||||
|
||||
func newQDateEdit(h *C.QDateEdit) *QDateEdit {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDateEdit{h: h, QDateTimeEdit: newQDateTimeEdit_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QDeadlineTimer) cPointer() *C.QDeadlineTimer {
|
||||
}
|
||||
|
||||
func newQDeadlineTimer(h *C.QDeadlineTimer) *QDeadlineTimer {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDeadlineTimer{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QDebug) cPointer() *C.QDebug {
|
||||
}
|
||||
|
||||
func newQDebug(h *C.QDebug) *QDebug {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDebug{h: h}
|
||||
}
|
||||
|
||||
@ -216,6 +219,9 @@ func (this *QDebugStateSaver) cPointer() *C.QDebugStateSaver {
|
||||
}
|
||||
|
||||
func newQDebugStateSaver(h *C.QDebugStateSaver) *QDebugStateSaver {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDebugStateSaver{h: h}
|
||||
}
|
||||
|
||||
@ -245,6 +251,9 @@ func (this *QNoDebug) cPointer() *C.QNoDebug {
|
||||
}
|
||||
|
||||
func newQNoDebug(h *C.QNoDebug) *QNoDebug {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QNoDebug{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QDesktopServices) cPointer() *C.QDesktopServices {
|
||||
}
|
||||
|
||||
func newQDesktopServices(h *C.QDesktopServices) *QDesktopServices {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDesktopServices{h: h}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QDesktopWidget) cPointer() *C.QDesktopWidget {
|
||||
}
|
||||
|
||||
func newQDesktopWidget(h *C.QDesktopWidget) *QDesktopWidget {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDesktopWidget{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QDial) cPointer() *C.QDial {
|
||||
}
|
||||
|
||||
func newQDial(h *C.QDial) *QDial {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDial{h: h, QAbstractSlider: newQAbstractSlider_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QDialog) cPointer() *C.QDialog {
|
||||
}
|
||||
|
||||
func newQDialog(h *C.QDialog) *QDialog {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDialog{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QDialogButtonBox) cPointer() *C.QDialogButtonBox {
|
||||
}
|
||||
|
||||
func newQDialogButtonBox(h *C.QDialogButtonBox) *QDialogButtonBox {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDialogButtonBox{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QDir) cPointer() *C.QDir {
|
||||
}
|
||||
|
||||
func newQDir(h *C.QDir) *QDir {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDir{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QDirIterator) cPointer() *C.QDirIterator {
|
||||
}
|
||||
|
||||
func newQDirIterator(h *C.QDirIterator) *QDirIterator {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDirIterator{h: h}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QDirModel) cPointer() *C.QDirModel {
|
||||
}
|
||||
|
||||
func newQDirModel(h *C.QDirModel) *QDirModel {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDirModel{h: h, QAbstractItemModel: newQAbstractItemModel_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QDockWidget) cPointer() *C.QDockWidget {
|
||||
}
|
||||
|
||||
func newQDockWidget(h *C.QDockWidget) *QDockWidget {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDockWidget{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QDrag) cPointer() *C.QDrag {
|
||||
}
|
||||
|
||||
func newQDrag(h *C.QDrag) *QDrag {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDrag{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QTileRules) cPointer() *C.QTileRules {
|
||||
}
|
||||
|
||||
func newQTileRules(h *C.QTileRules) *QTileRules {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QTileRules{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QEasingCurve) cPointer() *C.QEasingCurve {
|
||||
}
|
||||
|
||||
func newQEasingCurve(h *C.QEasingCurve) *QEasingCurve {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QEasingCurve{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QElapsedTimer) cPointer() *C.QElapsedTimer {
|
||||
}
|
||||
|
||||
func newQElapsedTimer(h *C.QElapsedTimer) *QElapsedTimer {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QElapsedTimer{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QErrorMessage) cPointer() *C.QErrorMessage {
|
||||
}
|
||||
|
||||
func newQErrorMessage(h *C.QErrorMessage) *QErrorMessage {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QErrorMessage{h: h, QDialog: newQDialog_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
123
qt/gen_qevent.go
123
qt/gen_qevent.go
@ -28,6 +28,9 @@ func (this *QInputEvent) cPointer() *C.QInputEvent {
|
||||
}
|
||||
|
||||
func newQInputEvent(h *C.QInputEvent) *QInputEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QInputEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -88,6 +91,9 @@ func (this *QEnterEvent) cPointer() *C.QEnterEvent {
|
||||
}
|
||||
|
||||
func newQEnterEvent(h *C.QEnterEvent) *QEnterEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QEnterEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -181,6 +187,9 @@ func (this *QMouseEvent) cPointer() *C.QMouseEvent {
|
||||
}
|
||||
|
||||
func newQMouseEvent(h *C.QMouseEvent) *QMouseEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QMouseEvent{h: h, QInputEvent: newQInputEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -316,6 +325,9 @@ func (this *QHoverEvent) cPointer() *C.QHoverEvent {
|
||||
}
|
||||
|
||||
func newQHoverEvent(h *C.QHoverEvent) *QHoverEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QHoverEvent{h: h, QInputEvent: newQInputEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -390,6 +402,9 @@ func (this *QWheelEvent) cPointer() *C.QWheelEvent {
|
||||
}
|
||||
|
||||
func newQWheelEvent(h *C.QWheelEvent) *QWheelEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QWheelEvent{h: h, QInputEvent: newQInputEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -606,6 +621,9 @@ func (this *QTabletEvent) cPointer() *C.QTabletEvent {
|
||||
}
|
||||
|
||||
func newQTabletEvent(h *C.QTabletEvent) *QTabletEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QTabletEvent{h: h, QInputEvent: newQInputEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -770,6 +788,9 @@ func (this *QNativeGestureEvent) cPointer() *C.QNativeGestureEvent {
|
||||
}
|
||||
|
||||
func newQNativeGestureEvent(h *C.QNativeGestureEvent) *QNativeGestureEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QNativeGestureEvent{h: h, QInputEvent: newQInputEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -864,6 +885,9 @@ func (this *QKeyEvent) cPointer() *C.QKeyEvent {
|
||||
}
|
||||
|
||||
func newQKeyEvent(h *C.QKeyEvent) *QKeyEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QKeyEvent{h: h, QInputEvent: newQInputEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1003,6 +1027,9 @@ func (this *QFocusEvent) cPointer() *C.QFocusEvent {
|
||||
}
|
||||
|
||||
func newQFocusEvent(h *C.QFocusEvent) *QFocusEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFocusEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1060,6 +1087,9 @@ func (this *QPaintEvent) cPointer() *C.QPaintEvent {
|
||||
}
|
||||
|
||||
func newQPaintEvent(h *C.QPaintEvent) *QPaintEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QPaintEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1112,6 +1142,9 @@ func (this *QMoveEvent) cPointer() *C.QMoveEvent {
|
||||
}
|
||||
|
||||
func newQMoveEvent(h *C.QMoveEvent) *QMoveEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QMoveEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1158,6 +1191,9 @@ func (this *QExposeEvent) cPointer() *C.QExposeEvent {
|
||||
}
|
||||
|
||||
func newQExposeEvent(h *C.QExposeEvent) *QExposeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QExposeEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1199,6 +1235,9 @@ func (this *QPlatformSurfaceEvent) cPointer() *C.QPlatformSurfaceEvent {
|
||||
}
|
||||
|
||||
func newQPlatformSurfaceEvent(h *C.QPlatformSurfaceEvent) *QPlatformSurfaceEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QPlatformSurfaceEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1240,6 +1279,9 @@ func (this *QResizeEvent) cPointer() *C.QResizeEvent {
|
||||
}
|
||||
|
||||
func newQResizeEvent(h *C.QResizeEvent) *QResizeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QResizeEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1286,6 +1328,9 @@ func (this *QCloseEvent) cPointer() *C.QCloseEvent {
|
||||
}
|
||||
|
||||
func newQCloseEvent(h *C.QCloseEvent) *QCloseEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QCloseEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1326,6 +1371,9 @@ func (this *QIconDragEvent) cPointer() *C.QIconDragEvent {
|
||||
}
|
||||
|
||||
func newQIconDragEvent(h *C.QIconDragEvent) *QIconDragEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QIconDragEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1366,6 +1414,9 @@ func (this *QShowEvent) cPointer() *C.QShowEvent {
|
||||
}
|
||||
|
||||
func newQShowEvent(h *C.QShowEvent) *QShowEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QShowEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1406,6 +1457,9 @@ func (this *QHideEvent) cPointer() *C.QHideEvent {
|
||||
}
|
||||
|
||||
func newQHideEvent(h *C.QHideEvent) *QHideEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QHideEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1446,6 +1500,9 @@ func (this *QContextMenuEvent) cPointer() *C.QContextMenuEvent {
|
||||
}
|
||||
|
||||
func newQContextMenuEvent(h *C.QContextMenuEvent) *QContextMenuEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QContextMenuEvent{h: h, QInputEvent: newQInputEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1529,6 +1586,9 @@ func (this *QInputMethodEvent) cPointer() *C.QInputMethodEvent {
|
||||
}
|
||||
|
||||
func newQInputMethodEvent(h *C.QInputMethodEvent) *QInputMethodEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QInputMethodEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1625,6 +1685,9 @@ func (this *QInputMethodQueryEvent) cPointer() *C.QInputMethodQueryEvent {
|
||||
}
|
||||
|
||||
func newQInputMethodQueryEvent(h *C.QInputMethodQueryEvent) *QInputMethodQueryEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QInputMethodQueryEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1681,6 +1744,9 @@ func (this *QDropEvent) cPointer() *C.QDropEvent {
|
||||
}
|
||||
|
||||
func newQDropEvent(h *C.QDropEvent) *QDropEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDropEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1782,6 +1848,9 @@ func (this *QDragMoveEvent) cPointer() *C.QDragMoveEvent {
|
||||
}
|
||||
|
||||
func newQDragMoveEvent(h *C.QDragMoveEvent) *QDragMoveEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDragMoveEvent{h: h, QDropEvent: newQDropEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1851,6 +1920,9 @@ func (this *QDragEnterEvent) cPointer() *C.QDragEnterEvent {
|
||||
}
|
||||
|
||||
func newQDragEnterEvent(h *C.QDragEnterEvent) *QDragEnterEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDragEnterEvent{h: h, QDragMoveEvent: newQDragMoveEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1891,6 +1963,9 @@ func (this *QDragLeaveEvent) cPointer() *C.QDragLeaveEvent {
|
||||
}
|
||||
|
||||
func newQDragLeaveEvent(h *C.QDragLeaveEvent) *QDragLeaveEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QDragLeaveEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1931,6 +2006,9 @@ func (this *QHelpEvent) cPointer() *C.QHelpEvent {
|
||||
}
|
||||
|
||||
func newQHelpEvent(h *C.QHelpEvent) *QHelpEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QHelpEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -1997,6 +2075,9 @@ func (this *QStatusTipEvent) cPointer() *C.QStatusTipEvent {
|
||||
}
|
||||
|
||||
func newQStatusTipEvent(h *C.QStatusTipEvent) *QStatusTipEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QStatusTipEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2044,6 +2125,9 @@ func (this *QWhatsThisClickedEvent) cPointer() *C.QWhatsThisClickedEvent {
|
||||
}
|
||||
|
||||
func newQWhatsThisClickedEvent(h *C.QWhatsThisClickedEvent) *QWhatsThisClickedEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QWhatsThisClickedEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2091,6 +2175,9 @@ func (this *QActionEvent) cPointer() *C.QActionEvent {
|
||||
}
|
||||
|
||||
func newQActionEvent(h *C.QActionEvent) *QActionEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QActionEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2147,6 +2234,9 @@ func (this *QFileOpenEvent) cPointer() *C.QFileOpenEvent {
|
||||
}
|
||||
|
||||
func newQFileOpenEvent(h *C.QFileOpenEvent) *QFileOpenEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFileOpenEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2216,6 +2306,9 @@ func (this *QToolBarChangeEvent) cPointer() *C.QToolBarChangeEvent {
|
||||
}
|
||||
|
||||
func newQToolBarChangeEvent(h *C.QToolBarChangeEvent) *QToolBarChangeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QToolBarChangeEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2257,6 +2350,9 @@ func (this *QShortcutEvent) cPointer() *C.QShortcutEvent {
|
||||
}
|
||||
|
||||
func newQShortcutEvent(h *C.QShortcutEvent) *QShortcutEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QShortcutEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2314,6 +2410,9 @@ func (this *QWindowStateChangeEvent) cPointer() *C.QWindowStateChangeEvent {
|
||||
}
|
||||
|
||||
func newQWindowStateChangeEvent(h *C.QWindowStateChangeEvent) *QWindowStateChangeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QWindowStateChangeEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2365,6 +2464,9 @@ func (this *QPointingDeviceUniqueId) cPointer() *C.QPointingDeviceUniqueId {
|
||||
}
|
||||
|
||||
func newQPointingDeviceUniqueId(h *C.QPointingDeviceUniqueId) *QPointingDeviceUniqueId {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QPointingDeviceUniqueId{h: h}
|
||||
}
|
||||
|
||||
@ -2422,6 +2524,9 @@ func (this *QTouchEvent) cPointer() *C.QTouchEvent {
|
||||
}
|
||||
|
||||
func newQTouchEvent(h *C.QTouchEvent) *QTouchEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QTouchEvent{h: h, QInputEvent: newQInputEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2534,6 +2639,9 @@ func (this *QScrollPrepareEvent) cPointer() *C.QScrollPrepareEvent {
|
||||
}
|
||||
|
||||
func newQScrollPrepareEvent(h *C.QScrollPrepareEvent) *QScrollPrepareEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QScrollPrepareEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2626,6 +2734,9 @@ func (this *QScrollEvent) cPointer() *C.QScrollEvent {
|
||||
}
|
||||
|
||||
func newQScrollEvent(h *C.QScrollEvent) *QScrollEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QScrollEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2689,6 +2800,9 @@ func (this *QScreenOrientationChangeEvent) cPointer() *C.QScreenOrientationChang
|
||||
}
|
||||
|
||||
func newQScreenOrientationChangeEvent(h *C.QScreenOrientationChangeEvent) *QScreenOrientationChangeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QScreenOrientationChangeEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2735,6 +2849,9 @@ func (this *QApplicationStateChangeEvent) cPointer() *C.QApplicationStateChangeE
|
||||
}
|
||||
|
||||
func newQApplicationStateChangeEvent(h *C.QApplicationStateChangeEvent) *QApplicationStateChangeEvent {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QApplicationStateChangeEvent{h: h, QEvent: newQEvent_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -2775,6 +2892,9 @@ func (this *QInputMethodEvent__Attribute) cPointer() *C.QInputMethodEvent__Attri
|
||||
}
|
||||
|
||||
func newQInputMethodEvent__Attribute(h *C.QInputMethodEvent__Attribute) *QInputMethodEvent__Attribute {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QInputMethodEvent__Attribute{h: h}
|
||||
}
|
||||
|
||||
@ -2816,6 +2936,9 @@ func (this *QTouchEvent__TouchPoint) cPointer() *C.QTouchEvent__TouchPoint {
|
||||
}
|
||||
|
||||
func newQTouchEvent__TouchPoint(h *C.QTouchEvent__TouchPoint) *QTouchEvent__TouchPoint {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QTouchEvent__TouchPoint{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QEventLoop) cPointer() *C.QEventLoop {
|
||||
}
|
||||
|
||||
func newQEventLoop(h *C.QEventLoop) *QEventLoop {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QEventLoop{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
@ -191,6 +194,9 @@ func (this *QEventLoopLocker) cPointer() *C.QEventLoopLocker {
|
||||
}
|
||||
|
||||
func newQEventLoopLocker(h *C.QEventLoopLocker) *QEventLoopLocker {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QEventLoopLocker{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QEventTransition) cPointer() *C.QEventTransition {
|
||||
}
|
||||
|
||||
func newQEventTransition(h *C.QEventTransition) *QEventTransition {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QEventTransition{h: h, QAbstractTransition: newQAbstractTransition_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QtPrivate__ExceptionHolder) cPointer() *C.QtPrivate__ExceptionHolder
|
||||
}
|
||||
|
||||
func newQtPrivate__ExceptionHolder(h *C.QtPrivate__ExceptionHolder) *QtPrivate__ExceptionHolder {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QtPrivate__ExceptionHolder{h: h}
|
||||
}
|
||||
|
||||
@ -66,6 +69,9 @@ func (this *QtPrivate__ExceptionStore) cPointer() *C.QtPrivate__ExceptionStore {
|
||||
}
|
||||
|
||||
func newQtPrivate__ExceptionStore(h *C.QtPrivate__ExceptionStore) *QtPrivate__ExceptionStore {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QtPrivate__ExceptionStore{h: h}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *QFactoryInterface) cPointer() *C.QFactoryInterface {
|
||||
}
|
||||
|
||||
func newQFactoryInterface(h *C.QFactoryInterface) *QFactoryInterface {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFactoryInterface{h: h}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QFile) cPointer() *C.QFile {
|
||||
}
|
||||
|
||||
func newQFile(h *C.QFile) *QFile {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFile{h: h, QFileDevice: newQFileDevice_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QFileDevice) cPointer() *C.QFileDevice {
|
||||
}
|
||||
|
||||
func newQFileDevice(h *C.QFileDevice) *QFileDevice {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFileDevice{h: h, QIODevice: newQIODevice_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QFileDialog) cPointer() *C.QFileDialog {
|
||||
}
|
||||
|
||||
func newQFileDialog(h *C.QFileDialog) *QFileDialog {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFileDialog{h: h, QDialog: newQDialog_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QFileIconProvider) cPointer() *C.QFileIconProvider {
|
||||
}
|
||||
|
||||
func newQFileIconProvider(h *C.QFileIconProvider) *QFileIconProvider {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFileIconProvider{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QFileInfo) cPointer() *C.QFileInfo {
|
||||
}
|
||||
|
||||
func newQFileInfo(h *C.QFileInfo) *QFileInfo {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFileInfo{h: h}
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,9 @@ func (this *QFileSelector) cPointer() *C.QFileSelector {
|
||||
}
|
||||
|
||||
func newQFileSelector(h *C.QFileSelector) *QFileSelector {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFileSelector{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ func (this *QFileSystemModel) cPointer() *C.QFileSystemModel {
|
||||
}
|
||||
|
||||
func newQFileSystemModel(h *C.QFileSystemModel) *QFileSystemModel {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFileSystemModel{h: h, QAbstractItemModel: newQAbstractItemModel_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QFileSystemWatcher) cPointer() *C.QFileSystemWatcher {
|
||||
}
|
||||
|
||||
func newQFileSystemWatcher(h *C.QFileSystemWatcher) *QFileSystemWatcher {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFileSystemWatcher{h: h, QObject: newQObject_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QFinalState) cPointer() *C.QFinalState {
|
||||
}
|
||||
|
||||
func newQFinalState(h *C.QFinalState) *QFinalState {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFinalState{h: h, QAbstractState: newQAbstractState_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,9 @@ func (this *qfloat16) cPointer() *C.qfloat16 {
|
||||
}
|
||||
|
||||
func newqfloat16(h *C.qfloat16) *qfloat16 {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &qfloat16{h: h}
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,9 @@ func (this *QFocusFrame) cPointer() *C.QFocusFrame {
|
||||
}
|
||||
|
||||
func newQFocusFrame(h *C.QFocusFrame) *QFocusFrame {
|
||||
if h == nil {
|
||||
return nil
|
||||
}
|
||||
return &QFocusFrame{h: h, QWidget: newQWidget_U(unsafe.Pointer(h))}
|
||||
}
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user