2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QKEYEVENTTRANSITION_H
|
|
|
|
#define GEN_QKEYEVENTTRANSITION_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QKeyEventTransition;
|
|
|
|
class QMetaObject;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QState;
|
|
|
|
#else
|
|
|
|
typedef struct QKeyEventTransition QKeyEventTransition;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QObject QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QState QState;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QKeyEventTransition* QKeyEventTransition_new();
|
2024-08-29 07:01:51 +00:00
|
|
|
QKeyEventTransition* QKeyEventTransition_new2(QObject* object, uintptr_t typeVal, int key);
|
|
|
|
QKeyEventTransition* QKeyEventTransition_new3(QState* sourceState);
|
|
|
|
QKeyEventTransition* QKeyEventTransition_new4(QObject* object, uintptr_t typeVal, int key, QState* sourceState);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QKeyEventTransition_MetaObject(const QKeyEventTransition* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QKeyEventTransition_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
|
|
void QKeyEventTransition_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QKeyEventTransition_Key(const QKeyEventTransition* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QKeyEventTransition_SetKey(QKeyEventTransition* self, int key);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QKeyEventTransition_ModifierMask(const QKeyEventTransition* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QKeyEventTransition_SetModifierMask(QKeyEventTransition* self, int modifiers);
|
|
|
|
void QKeyEventTransition_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QKeyEventTransition_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QKeyEventTransition_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QKeyEventTransition_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QKeyEventTransition_Delete(QKeyEventTransition* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|