miqt/qt6/gen_qcoreevent.h

88 lines
3.6 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QCOREEVENT_H
#define MIQT_QT6_GEN_QCOREEVENT_H
2024-10-20 05:21:03 +00:00
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QChildEvent;
class QDynamicPropertyChangeEvent;
class QEvent;
class QObject;
class QTimerEvent;
#else
typedef struct QChildEvent QChildEvent;
typedef struct QDynamicPropertyChangeEvent QDynamicPropertyChangeEvent;
typedef struct QEvent QEvent;
typedef struct QObject QObject;
typedef struct QTimerEvent QTimerEvent;
#endif
2024-12-07 04:15:57 +00:00
QEvent* QEvent_new(int typeVal);
2024-10-20 05:21:03 +00:00
int QEvent_Type(const QEvent* self);
bool QEvent_Spontaneous(const QEvent* self);
void QEvent_SetAccepted(QEvent* self, bool accepted);
bool QEvent_IsAccepted(const QEvent* self);
void QEvent_Accept(QEvent* self);
void QEvent_Ignore(QEvent* self);
bool QEvent_IsInputEvent(const QEvent* self);
bool QEvent_IsPointerEvent(const QEvent* self);
bool QEvent_IsSinglePointEvent(const QEvent* self);
int QEvent_RegisterEventType();
QEvent* QEvent_Clone(const QEvent* self);
int QEvent_RegisterEventType1(int hint);
2024-11-19 06:29:06 +00:00
void QEvent_override_virtual_SetAccepted(void* self, intptr_t slot);
void QEvent_virtualbase_SetAccepted(void* self, bool accepted);
void QEvent_override_virtual_Clone(void* self, intptr_t slot);
QEvent* QEvent_virtualbase_Clone(const void* self);
void QEvent_Delete(QEvent* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
2024-12-07 04:15:57 +00:00
QTimerEvent* QTimerEvent_new(int timerId);
void QTimerEvent_virtbase(QTimerEvent* src, QEvent** outptr_QEvent);
2024-10-20 05:21:03 +00:00
QTimerEvent* QTimerEvent_Clone(const QTimerEvent* self);
int QTimerEvent_TimerId(const QTimerEvent* self);
2024-11-19 06:29:06 +00:00
void QTimerEvent_override_virtual_Clone(void* self, intptr_t slot);
QTimerEvent* QTimerEvent_virtualbase_Clone(const void* self);
void QTimerEvent_override_virtual_SetAccepted(void* self, intptr_t slot);
void QTimerEvent_virtualbase_SetAccepted(void* self, bool accepted);
void QTimerEvent_Delete(QTimerEvent* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
2024-12-07 04:15:57 +00:00
QChildEvent* QChildEvent_new(int typeVal, QObject* child);
void QChildEvent_virtbase(QChildEvent* src, QEvent** outptr_QEvent);
2024-10-20 05:21:03 +00:00
QChildEvent* QChildEvent_Clone(const QChildEvent* self);
QObject* QChildEvent_Child(const QChildEvent* self);
bool QChildEvent_Added(const QChildEvent* self);
bool QChildEvent_Polished(const QChildEvent* self);
bool QChildEvent_Removed(const QChildEvent* self);
2024-11-19 06:29:06 +00:00
void QChildEvent_override_virtual_Clone(void* self, intptr_t slot);
QChildEvent* QChildEvent_virtualbase_Clone(const void* self);
void QChildEvent_override_virtual_SetAccepted(void* self, intptr_t slot);
void QChildEvent_virtualbase_SetAccepted(void* self, bool accepted);
void QChildEvent_Delete(QChildEvent* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
2024-12-07 04:15:57 +00:00
QDynamicPropertyChangeEvent* QDynamicPropertyChangeEvent_new(struct miqt_string name);
void QDynamicPropertyChangeEvent_virtbase(QDynamicPropertyChangeEvent* src, QEvent** outptr_QEvent);
2024-10-20 05:21:03 +00:00
QDynamicPropertyChangeEvent* QDynamicPropertyChangeEvent_Clone(const QDynamicPropertyChangeEvent* self);
struct miqt_string QDynamicPropertyChangeEvent_PropertyName(const QDynamicPropertyChangeEvent* self);
2024-11-19 06:29:06 +00:00
void QDynamicPropertyChangeEvent_override_virtual_Clone(void* self, intptr_t slot);
QDynamicPropertyChangeEvent* QDynamicPropertyChangeEvent_virtualbase_Clone(const void* self);
void QDynamicPropertyChangeEvent_override_virtual_SetAccepted(void* self, intptr_t slot);
void QDynamicPropertyChangeEvent_virtualbase_SetAccepted(void* self, bool accepted);
void QDynamicPropertyChangeEvent_Delete(QDynamicPropertyChangeEvent* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif