mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
68 lines
2.1 KiB
C++
68 lines
2.1 KiB
C++
#ifndef GEN_QCOREEVENT_H
|
|
#define 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 QByteArray;
|
|
class QChildEvent;
|
|
class QDynamicPropertyChangeEvent;
|
|
class QEvent;
|
|
class QObject;
|
|
class QTimerEvent;
|
|
#else
|
|
typedef struct QByteArray QByteArray;
|
|
typedef struct QChildEvent QChildEvent;
|
|
typedef struct QDynamicPropertyChangeEvent QDynamicPropertyChangeEvent;
|
|
typedef struct QEvent QEvent;
|
|
typedef struct QObject QObject;
|
|
typedef struct QTimerEvent QTimerEvent;
|
|
#endif
|
|
|
|
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);
|
|
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);
|
|
|
|
QChildEvent* QChildEvent_new(int 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(struct miqt_string name);
|
|
QDynamicPropertyChangeEvent* QDynamicPropertyChangeEvent_new2(QDynamicPropertyChangeEvent* param1);
|
|
struct miqt_string QDynamicPropertyChangeEvent_PropertyName(const QDynamicPropertyChangeEvent* self);
|
|
void QDynamicPropertyChangeEvent_Delete(QDynamicPropertyChangeEvent* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|