mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
134 lines
7.0 KiB
C++
134 lines
7.0 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QCOREAPPLICATION_H
|
|
#define MIQT_QT6_GEN_QCOREAPPLICATION_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 QAbstractEventDispatcher;
|
|
class QAbstractNativeEventFilter;
|
|
class QChildEvent;
|
|
class QCoreApplication;
|
|
class QEvent;
|
|
class QMetaMethod;
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QTimerEvent;
|
|
class QTranslator;
|
|
#else
|
|
typedef struct QAbstractEventDispatcher QAbstractEventDispatcher;
|
|
typedef struct QAbstractNativeEventFilter QAbstractNativeEventFilter;
|
|
typedef struct QChildEvent QChildEvent;
|
|
typedef struct QCoreApplication QCoreApplication;
|
|
typedef struct QEvent QEvent;
|
|
typedef struct QMetaMethod QMetaMethod;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QTimerEvent QTimerEvent;
|
|
typedef struct QTranslator QTranslator;
|
|
#endif
|
|
|
|
QCoreApplication* QCoreApplication_new(int* argc, char** argv);
|
|
QCoreApplication* QCoreApplication_new2(int* argc, char** argv, int param3);
|
|
void QCoreApplication_virtbase(QCoreApplication* src, QObject** outptr_QObject);
|
|
QMetaObject* QCoreApplication_MetaObject(const QCoreApplication* self);
|
|
void* QCoreApplication_Metacast(QCoreApplication* self, const char* param1);
|
|
struct miqt_string QCoreApplication_Tr(const char* s);
|
|
struct miqt_array /* of struct miqt_string */ QCoreApplication_Arguments();
|
|
void QCoreApplication_SetAttribute(int attribute);
|
|
bool QCoreApplication_TestAttribute(int attribute);
|
|
void QCoreApplication_SetOrganizationDomain(struct miqt_string orgDomain);
|
|
struct miqt_string QCoreApplication_OrganizationDomain();
|
|
void QCoreApplication_SetOrganizationName(struct miqt_string orgName);
|
|
struct miqt_string QCoreApplication_OrganizationName();
|
|
void QCoreApplication_SetApplicationName(struct miqt_string application);
|
|
struct miqt_string QCoreApplication_ApplicationName();
|
|
void QCoreApplication_SetApplicationVersion(struct miqt_string version);
|
|
struct miqt_string QCoreApplication_ApplicationVersion();
|
|
void QCoreApplication_SetSetuidAllowed(bool allow);
|
|
bool QCoreApplication_IsSetuidAllowed();
|
|
QCoreApplication* QCoreApplication_Instance();
|
|
int QCoreApplication_Exec();
|
|
void QCoreApplication_ProcessEvents();
|
|
void QCoreApplication_ProcessEvents2(int flags, int maxtime);
|
|
bool QCoreApplication_SendEvent(QObject* receiver, QEvent* event);
|
|
void QCoreApplication_PostEvent(QObject* receiver, QEvent* event);
|
|
void QCoreApplication_SendPostedEvents();
|
|
void QCoreApplication_RemovePostedEvents(QObject* receiver);
|
|
QAbstractEventDispatcher* QCoreApplication_EventDispatcher();
|
|
void QCoreApplication_SetEventDispatcher(QAbstractEventDispatcher* eventDispatcher);
|
|
bool QCoreApplication_Notify(QCoreApplication* self, QObject* param1, QEvent* param2);
|
|
bool QCoreApplication_StartingUp();
|
|
bool QCoreApplication_ClosingDown();
|
|
struct miqt_string QCoreApplication_ApplicationDirPath();
|
|
struct miqt_string QCoreApplication_ApplicationFilePath();
|
|
long long QCoreApplication_ApplicationPid();
|
|
void QCoreApplication_SetLibraryPaths(struct miqt_array /* of struct miqt_string */ libraryPaths);
|
|
struct miqt_array /* of struct miqt_string */ QCoreApplication_LibraryPaths();
|
|
void QCoreApplication_AddLibraryPath(struct miqt_string param1);
|
|
void QCoreApplication_RemoveLibraryPath(struct miqt_string param1);
|
|
bool QCoreApplication_InstallTranslator(QTranslator* messageFile);
|
|
bool QCoreApplication_RemoveTranslator(QTranslator* messageFile);
|
|
struct miqt_string QCoreApplication_Translate(const char* context, const char* key);
|
|
void QCoreApplication_InstallNativeEventFilter(QCoreApplication* self, QAbstractNativeEventFilter* filterObj);
|
|
void QCoreApplication_connect_InstallNativeEventFilter(QCoreApplication* self, intptr_t slot);
|
|
void QCoreApplication_RemoveNativeEventFilter(QCoreApplication* self, QAbstractNativeEventFilter* filterObj);
|
|
void QCoreApplication_connect_RemoveNativeEventFilter(QCoreApplication* self, intptr_t slot);
|
|
bool QCoreApplication_IsQuitLockEnabled();
|
|
void QCoreApplication_SetQuitLockEnabled(bool enabled);
|
|
void QCoreApplication_Quit();
|
|
void QCoreApplication_Exit();
|
|
void QCoreApplication_OrganizationNameChanged(QCoreApplication* self);
|
|
void QCoreApplication_connect_OrganizationNameChanged(QCoreApplication* self, intptr_t slot);
|
|
void QCoreApplication_OrganizationDomainChanged(QCoreApplication* self);
|
|
void QCoreApplication_connect_OrganizationDomainChanged(QCoreApplication* self, intptr_t slot);
|
|
void QCoreApplication_ApplicationNameChanged(QCoreApplication* self);
|
|
void QCoreApplication_connect_ApplicationNameChanged(QCoreApplication* self, intptr_t slot);
|
|
void QCoreApplication_ApplicationVersionChanged(QCoreApplication* self);
|
|
void QCoreApplication_connect_ApplicationVersionChanged(QCoreApplication* self, intptr_t slot);
|
|
bool QCoreApplication_Event(QCoreApplication* self, QEvent* param1);
|
|
struct miqt_string QCoreApplication_Tr2(const char* s, const char* c);
|
|
struct miqt_string QCoreApplication_Tr3(const char* s, const char* c, int n);
|
|
void QCoreApplication_SetAttribute2(int attribute, bool on);
|
|
void QCoreApplication_ProcessEvents1(int flags);
|
|
void QCoreApplication_PostEvent3(QObject* receiver, QEvent* event, int priority);
|
|
void QCoreApplication_SendPostedEvents1(QObject* receiver);
|
|
void QCoreApplication_SendPostedEvents2(QObject* receiver, int event_type);
|
|
void QCoreApplication_RemovePostedEvents2(QObject* receiver, int eventType);
|
|
struct miqt_string QCoreApplication_Translate3(const char* context, const char* key, const char* disambiguation);
|
|
struct miqt_string QCoreApplication_Translate4(const char* context, const char* key, const char* disambiguation, int n);
|
|
void QCoreApplication_Exit1(int retcode);
|
|
void QCoreApplication_override_virtual_Notify(void* self, intptr_t slot);
|
|
bool QCoreApplication_virtualbase_Notify(void* self, QObject* param1, QEvent* param2);
|
|
void QCoreApplication_override_virtual_Event(void* self, intptr_t slot);
|
|
bool QCoreApplication_virtualbase_Event(void* self, QEvent* param1);
|
|
void QCoreApplication_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
bool QCoreApplication_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
void QCoreApplication_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
void QCoreApplication_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
void QCoreApplication_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
void QCoreApplication_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
void QCoreApplication_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
void QCoreApplication_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
void QCoreApplication_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
void QCoreApplication_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
void QCoreApplication_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
void QCoreApplication_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
void QCoreApplication_Delete(QCoreApplication* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|