miqt/qt/gen_qcoreevent.h

73 lines
2.4 KiB
C
Raw Normal View History

#ifndef GEN_QCOREEVENT_H
#define GEN_QCOREEVENT_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QByteArray;
class QChildEvent;
class QDeferredDeleteEvent;
class QDynamicPropertyChangeEvent;
class QEvent;
class QObject;
class QTimerEvent;
#else
typedef struct QByteArray QByteArray;
typedef struct QChildEvent QChildEvent;
typedef struct QDeferredDeleteEvent QDeferredDeleteEvent;
typedef struct QDynamicPropertyChangeEvent QDynamicPropertyChangeEvent;
typedef struct QEvent QEvent;
typedef struct QObject QObject;
typedef struct QTimerEvent QTimerEvent;
#endif
2024-08-29 07:01:51 +00:00
QEvent* QEvent_new(uintptr_t typeVal);
QEvent* QEvent_new2(QEvent* other);
void QEvent_OperatorAssign(QEvent* self, QEvent* other);
uintptr_t 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);
int QEvent_RegisterEventType();
int QEvent_RegisterEventType1(int hint);
void QEvent_Delete(QEvent* self);
QTimerEvent* QTimerEvent_new(int timerId);
QTimerEvent* QTimerEvent_new2(QTimerEvent* param1);
int QTimerEvent_TimerId(const QTimerEvent* self);
void QTimerEvent_Delete(QTimerEvent* self);
2024-08-29 07:01:51 +00:00
QChildEvent* QChildEvent_new(uintptr_t typeVal, QObject* child);
QChildEvent* QChildEvent_new2(QChildEvent* param1);
QObject* QChildEvent_Child(const QChildEvent* self);
bool QChildEvent_Added(const QChildEvent* self);
bool QChildEvent_Polished(const QChildEvent* self);
bool QChildEvent_Removed(const QChildEvent* self);
void QChildEvent_Delete(QChildEvent* self);
QDynamicPropertyChangeEvent* QDynamicPropertyChangeEvent_new(QByteArray* name);
QDynamicPropertyChangeEvent* QDynamicPropertyChangeEvent_new2(QDynamicPropertyChangeEvent* param1);
QByteArray* QDynamicPropertyChangeEvent_PropertyName(const QDynamicPropertyChangeEvent* self);
void QDynamicPropertyChangeEvent_Delete(QDynamicPropertyChangeEvent* self);
QDeferredDeleteEvent* QDeferredDeleteEvent_new();
QDeferredDeleteEvent* QDeferredDeleteEvent_new2(QDeferredDeleteEvent* param1);
int QDeferredDeleteEvent_LoopLevel(const QDeferredDeleteEvent* self);
void QDeferredDeleteEvent_Delete(QDeferredDeleteEvent* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif