miqt/qt6/gen_qlibrary.h

81 lines
3.3 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QLIBRARY_H
#define MIQT_QT6_GEN_QLIBRARY_H
2024-10-20 05:21:03 +00:00
#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
2024-11-19 06:29:06 +00:00
class QChildEvent;
class QEvent;
2024-10-20 05:21:03 +00:00
class QLibrary;
2024-11-19 06:29:06 +00:00
class QMetaMethod;
2024-10-20 05:21:03 +00:00
class QMetaObject;
class QObject;
2024-11-19 06:29:06 +00:00
class QTimerEvent;
2024-10-20 05:21:03 +00:00
#else
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
2024-10-20 05:21:03 +00:00
typedef struct QLibrary QLibrary;
2024-11-19 06:29:06 +00:00
typedef struct QMetaMethod QMetaMethod;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
2024-11-19 06:29:06 +00:00
typedef struct QTimerEvent QTimerEvent;
2024-10-20 05:21:03 +00:00
#endif
2024-12-07 04:15:57 +00:00
QLibrary* QLibrary_new();
QLibrary* QLibrary_new2(struct miqt_string fileName);
QLibrary* QLibrary_new3(struct miqt_string fileName, int verNum);
QLibrary* QLibrary_new4(struct miqt_string fileName, struct miqt_string version);
QLibrary* QLibrary_new5(QObject* parent);
QLibrary* QLibrary_new6(struct miqt_string fileName, QObject* parent);
QLibrary* QLibrary_new7(struct miqt_string fileName, int verNum, QObject* parent);
QLibrary* QLibrary_new8(struct miqt_string fileName, struct miqt_string version, QObject* parent);
void QLibrary_virtbase(QLibrary* src, QObject** outptr_QObject);
2024-10-20 05:21:03 +00:00
QMetaObject* QLibrary_MetaObject(const QLibrary* self);
void* QLibrary_Metacast(QLibrary* self, const char* param1);
struct miqt_string QLibrary_Tr(const char* s);
bool QLibrary_Load(QLibrary* self);
bool QLibrary_Unload(QLibrary* self);
bool QLibrary_IsLoaded(const QLibrary* self);
bool QLibrary_IsLibrary(struct miqt_string fileName);
void QLibrary_SetFileName(QLibrary* self, struct miqt_string fileName);
struct miqt_string QLibrary_FileName(const QLibrary* self);
void QLibrary_SetFileNameAndVersion(QLibrary* self, struct miqt_string fileName, int verNum);
void QLibrary_SetFileNameAndVersion2(QLibrary* self, struct miqt_string fileName, struct miqt_string version);
struct miqt_string QLibrary_ErrorString(const QLibrary* self);
void QLibrary_SetLoadHints(QLibrary* self, int hints);
int QLibrary_LoadHints(const QLibrary* self);
struct miqt_string QLibrary_Tr2(const char* s, const char* c);
struct miqt_string QLibrary_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QLibrary_override_virtual_Event(void* self, intptr_t slot);
bool QLibrary_virtualbase_Event(void* self, QEvent* event);
void QLibrary_override_virtual_EventFilter(void* self, intptr_t slot);
bool QLibrary_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QLibrary_override_virtual_TimerEvent(void* self, intptr_t slot);
void QLibrary_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QLibrary_override_virtual_ChildEvent(void* self, intptr_t slot);
void QLibrary_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QLibrary_override_virtual_CustomEvent(void* self, intptr_t slot);
void QLibrary_virtualbase_CustomEvent(void* self, QEvent* event);
void QLibrary_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QLibrary_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QLibrary_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QLibrary_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QLibrary_Delete(QLibrary* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif