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"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#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-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QKeyEventTransition_Tr(const char* s);
|
|
|
|
struct miqt_string* QKeyEventTransition_TrUtf8(const char* s);
|
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);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QKeyEventTransition_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QKeyEventTransition_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QKeyEventTransition_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QKeyEventTransition_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QKeyEventTransition_Delete(QKeyEventTransition* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|