2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QEVENTLOOP_H
|
|
|
|
#define MIQT_QT_GEN_QEVENTLOOP_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
|
2024-11-19 06:29:06 +00:00
|
|
|
class QChildEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QEvent;
|
|
|
|
class QEventLoop;
|
|
|
|
class QEventLoopLocker;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QThread;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QEventLoop QEventLoop;
|
|
|
|
typedef struct QEventLoopLocker QEventLoopLocker;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QThread QThread;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QEventLoop_new(QEventLoop** outptr_QEventLoop, QObject** outptr_QObject);
|
|
|
|
void QEventLoop_new2(QObject* parent, QEventLoop** outptr_QEventLoop, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QEventLoop_MetaObject(const QEventLoop* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QEventLoop_Metacast(QEventLoop* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QEventLoop_Tr(const char* s);
|
|
|
|
struct miqt_string QEventLoop_TrUtf8(const char* s);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QEventLoop_ProcessEvents(QEventLoop* self);
|
|
|
|
void QEventLoop_ProcessEvents2(QEventLoop* self, int flags, int maximumTime);
|
|
|
|
int QEventLoop_Exec(QEventLoop* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QEventLoop_Exit(QEventLoop* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QEventLoop_IsRunning(const QEventLoop* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QEventLoop_WakeUp(QEventLoop* self);
|
|
|
|
bool QEventLoop_Event(QEventLoop* self, QEvent* event);
|
|
|
|
void QEventLoop_Quit(QEventLoop* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QEventLoop_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QEventLoop_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QEventLoop_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QEventLoop_TrUtf83(const char* s, const char* c, int n);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QEventLoop_ProcessEvents1(QEventLoop* self, int flags);
|
|
|
|
int QEventLoop_Exec1(QEventLoop* self, int flags);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QEventLoop_Exit1(QEventLoop* self, int returnCode);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QEventLoop_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QEventLoop_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QEventLoop_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QEventLoop_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QEventLoop_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QEventLoop_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QEventLoop_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QEventLoop_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QEventLoop_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QEventLoop_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QEventLoop_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QEventLoop_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QEventLoop_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QEventLoop_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QEventLoop_Delete(QEventLoop* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QEventLoopLocker_new(QEventLoopLocker** outptr_QEventLoopLocker);
|
|
|
|
void QEventLoopLocker_new2(QEventLoop* loop, QEventLoopLocker** outptr_QEventLoopLocker);
|
|
|
|
void QEventLoopLocker_new3(QThread* thread, QEventLoopLocker** outptr_QEventLoopLocker);
|
|
|
|
void QEventLoopLocker_Delete(QEventLoopLocker* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|