miqt/qt/gen_qcoreapplication.h

103 lines
5.3 KiB
C++

#ifndef GEN_QCOREAPPLICATION_H
#define GEN_QCOREAPPLICATION_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QAbstractEventDispatcher;
class QAbstractNativeEventFilter;
class QCoreApplication;
class QEvent;
class QMetaObject;
class QObject;
class QTranslator;
#else
typedef struct QAbstractEventDispatcher QAbstractEventDispatcher;
typedef struct QAbstractNativeEventFilter QAbstractNativeEventFilter;
typedef struct QCoreApplication QCoreApplication;
typedef struct QEvent QEvent;
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QTranslator QTranslator;
#endif
QCoreApplication* QCoreApplication_new(int* argc, char ** argv);
QCoreApplication* QCoreApplication_new2(int* argc, char ** argv, int param3);
QMetaObject* QCoreApplication_MetaObject(QCoreApplication* self);
void QCoreApplication_Tr(char* s, char** _out, int* _out_Strlen);
void QCoreApplication_TrUtf8(char* s, char** _out, int* _out_Strlen);
void QCoreApplication_Arguments(char*** _out, int** _out_Lengths, size_t* _out_len);
void QCoreApplication_SetOrganizationDomain(const char* orgDomain, size_t orgDomain_Strlen);
void QCoreApplication_OrganizationDomain(char** _out, int* _out_Strlen);
void QCoreApplication_SetOrganizationName(const char* orgName, size_t orgName_Strlen);
void QCoreApplication_OrganizationName(char** _out, int* _out_Strlen);
void QCoreApplication_SetApplicationName(const char* application, size_t application_Strlen);
void QCoreApplication_ApplicationName(char** _out, int* _out_Strlen);
void QCoreApplication_SetApplicationVersion(const char* version, size_t version_Strlen);
void QCoreApplication_ApplicationVersion(char** _out, int* _out_Strlen);
void QCoreApplication_SetSetuidAllowed(bool allow);
bool QCoreApplication_IsSetuidAllowed();
QCoreApplication* QCoreApplication_Instance();
int QCoreApplication_Exec();
void QCoreApplication_Exit();
bool QCoreApplication_SendEvent(QObject* receiver, QEvent* event);
void QCoreApplication_PostEvent(QObject* receiver, QEvent* event);
void QCoreApplication_SendPostedEvents();
void QCoreApplication_RemovePostedEvents(QObject* receiver);
bool QCoreApplication_HasPendingEvents();
QAbstractEventDispatcher* QCoreApplication_EventDispatcher();
void QCoreApplication_SetEventDispatcher(QAbstractEventDispatcher* eventDispatcher);
bool QCoreApplication_Notify(QCoreApplication* self, QObject* param1, QEvent* param2);
bool QCoreApplication_StartingUp();
bool QCoreApplication_ClosingDown();
void QCoreApplication_ApplicationDirPath(char** _out, int* _out_Strlen);
void QCoreApplication_ApplicationFilePath(char** _out, int* _out_Strlen);
int64_t QCoreApplication_ApplicationPid();
void QCoreApplication_SetLibraryPaths(char** libraryPaths, uint64_t* libraryPaths_Lengths, size_t libraryPaths_len);
void QCoreApplication_LibraryPaths(char*** _out, int** _out_Lengths, size_t* _out_len);
void QCoreApplication_AddLibraryPath(const char* param1, size_t param1_Strlen);
void QCoreApplication_RemoveLibraryPath(const char* param1, size_t param1_Strlen);
bool QCoreApplication_InstallTranslator(QTranslator* messageFile);
bool QCoreApplication_RemoveTranslator(QTranslator* messageFile);
void QCoreApplication_Translate(char* context, char* key, char** _out, int* _out_Strlen);
void QCoreApplication_Flush();
void QCoreApplication_InstallNativeEventFilter(QCoreApplication* self, QAbstractNativeEventFilter* filterObj);
void QCoreApplication_RemoveNativeEventFilter(QCoreApplication* self, QAbstractNativeEventFilter* filterObj);
bool QCoreApplication_IsQuitLockEnabled();
void QCoreApplication_SetQuitLockEnabled(bool enabled);
void QCoreApplication_Quit();
void QCoreApplication_OrganizationNameChanged(QCoreApplication* self);
void QCoreApplication_connect_OrganizationNameChanged(QCoreApplication* self, void* slot);
void QCoreApplication_OrganizationDomainChanged(QCoreApplication* self);
void QCoreApplication_connect_OrganizationDomainChanged(QCoreApplication* self, void* slot);
void QCoreApplication_ApplicationNameChanged(QCoreApplication* self);
void QCoreApplication_connect_ApplicationNameChanged(QCoreApplication* self, void* slot);
void QCoreApplication_ApplicationVersionChanged(QCoreApplication* self);
void QCoreApplication_connect_ApplicationVersionChanged(QCoreApplication* self, void* slot);
void QCoreApplication_Tr2(char* s, char* c, char** _out, int* _out_Strlen);
void QCoreApplication_Tr3(char* s, char* c, int n, char** _out, int* _out_Strlen);
void QCoreApplication_TrUtf82(char* s, char* c, char** _out, int* _out_Strlen);
void QCoreApplication_TrUtf83(char* s, char* c, int n, char** _out, int* _out_Strlen);
void QCoreApplication_Exit1(int retcode);
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);
void QCoreApplication_Translate3(char* context, char* key, char* disambiguation, char** _out, int* _out_Strlen);
void QCoreApplication_Translate4(char* context, char* key, char* disambiguation, int n, char** _out, int* _out_Strlen);
void QCoreApplication_Delete(QCoreApplication* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif