2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QCOREEVENT_H
|
|
|
|
#define MIQT_QT_GEN_QCOREEVENT_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#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);
|
|
|
|
QEvent* QEvent_new2(QEvent* other);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QEvent_OperatorAssign(QEvent* self, QEvent* other);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QEvent_Type(const QEvent* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QEvent_Spontaneous(const QEvent* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QEvent_SetAccepted(QEvent* self, bool accepted);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QEvent_IsAccepted(const QEvent* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QEvent_Accept(QEvent* self);
|
|
|
|
void QEvent_Ignore(QEvent* self);
|
|
|
|
int QEvent_RegisterEventType();
|
|
|
|
int QEvent_RegisterEventType1(int hint);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QEvent_Delete(QEvent* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTimerEvent* QTimerEvent_new(int timerId);
|
|
|
|
QTimerEvent* QTimerEvent_new2(QTimerEvent* param1);
|
|
|
|
void QTimerEvent_virtbase(QTimerEvent* src, QEvent** outptr_QEvent);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTimerEvent_TimerId(const QTimerEvent* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTimerEvent_Delete(QTimerEvent* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QChildEvent* QChildEvent_new(int typeVal, QObject* child);
|
|
|
|
QChildEvent* QChildEvent_new2(QChildEvent* param1);
|
|
|
|
void QChildEvent_virtbase(QChildEvent* src, QEvent** outptr_QEvent);
|
2024-09-11 05:41:09 +00:00
|
|
|
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_Delete(QChildEvent* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QDynamicPropertyChangeEvent* QDynamicPropertyChangeEvent_new(struct miqt_string name);
|
|
|
|
QDynamicPropertyChangeEvent* QDynamicPropertyChangeEvent_new2(QDynamicPropertyChangeEvent* param1);
|
|
|
|
void QDynamicPropertyChangeEvent_virtbase(QDynamicPropertyChangeEvent* src, QEvent** outptr_QEvent);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QDynamicPropertyChangeEvent_PropertyName(const QDynamicPropertyChangeEvent* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDynamicPropertyChangeEvent_Delete(QDynamicPropertyChangeEvent* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|