mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
50 lines
1.7 KiB
C++
50 lines
1.7 KiB
C++
#ifndef GEN_QKEYEVENTTRANSITION_H
|
|
#define GEN_QKEYEVENTTRANSITION_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "binding.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QKeyEventTransition;
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QState;
|
|
#else
|
|
typedef struct QKeyEventTransition QKeyEventTransition;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QState QState;
|
|
#endif
|
|
|
|
QKeyEventTransition* QKeyEventTransition_new();
|
|
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);
|
|
QMetaObject* QKeyEventTransition_MetaObject(const QKeyEventTransition* self);
|
|
struct miqt_string* QKeyEventTransition_Tr(const char* s);
|
|
struct miqt_string* QKeyEventTransition_TrUtf8(const char* s);
|
|
int QKeyEventTransition_Key(const QKeyEventTransition* self);
|
|
void QKeyEventTransition_SetKey(QKeyEventTransition* self, int key);
|
|
int QKeyEventTransition_ModifierMask(const QKeyEventTransition* self);
|
|
void QKeyEventTransition_SetModifierMask(QKeyEventTransition* self, int modifiers);
|
|
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);
|
|
void QKeyEventTransition_Delete(QKeyEventTransition* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|