miqt/qt/gen_qcoreevent.h

70 lines
2.3 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_GEN_QCOREEVENT_H
#define MIQT_QT_GEN_QCOREEVENT_H
#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);
QEvent* QEvent_new2(QEvent* other);
void QEvent_OperatorAssign(QEvent* self, QEvent* other);
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);
int QEvent_RegisterEventType();
int QEvent_RegisterEventType1(int hint);
2024-11-19 06:29:06 +00:00
void QEvent_Delete(QEvent* self, bool isSubclass);
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);
int QTimerEvent_TimerId(const QTimerEvent* self);
2024-11-19 06:29:06 +00:00
void QTimerEvent_Delete(QTimerEvent* self, bool isSubclass);
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);
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-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);
struct miqt_string QDynamicPropertyChangeEvent_PropertyName(const QDynamicPropertyChangeEvent* self);
2024-11-19 06:29:06 +00:00
void QDynamicPropertyChangeEvent_Delete(QDynamicPropertyChangeEvent* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif