miqt/qt/gen_qabstracttransition.h

57 lines
2.2 KiB
C
Raw Permalink Normal View History

#ifndef GEN_QABSTRACTTRANSITION_H
#define GEN_QABSTRACTTRANSITION_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 QAbstractAnimation;
class QAbstractState;
class QAbstractTransition;
class QMetaObject;
class QState;
class QStateMachine;
#else
typedef struct QAbstractAnimation QAbstractAnimation;
typedef struct QAbstractState QAbstractState;
typedef struct QAbstractTransition QAbstractTransition;
typedef struct QMetaObject QMetaObject;
typedef struct QState QState;
typedef struct QStateMachine QStateMachine;
#endif
QMetaObject* QAbstractTransition_MetaObject(const QAbstractTransition* self);
struct miqt_string* QAbstractTransition_Tr(const char* s);
struct miqt_string* QAbstractTransition_TrUtf8(const char* s);
QState* QAbstractTransition_SourceState(const QAbstractTransition* self);
QAbstractState* QAbstractTransition_TargetState(const QAbstractTransition* self);
void QAbstractTransition_SetTargetState(QAbstractTransition* self, QAbstractState* target);
struct miqt_array* QAbstractTransition_TargetStates(const QAbstractTransition* self);
void QAbstractTransition_SetTargetStates(QAbstractTransition* self, struct miqt_array* /* of QAbstractState* */ targets);
uintptr_t QAbstractTransition_TransitionType(const QAbstractTransition* self);
2024-08-29 07:01:51 +00:00
void QAbstractTransition_SetTransitionType(QAbstractTransition* self, uintptr_t typeVal);
QStateMachine* QAbstractTransition_Machine(const QAbstractTransition* self);
void QAbstractTransition_AddAnimation(QAbstractTransition* self, QAbstractAnimation* animation);
void QAbstractTransition_RemoveAnimation(QAbstractTransition* self, QAbstractAnimation* animation);
struct miqt_array* QAbstractTransition_Animations(const QAbstractTransition* self);
struct miqt_string* QAbstractTransition_Tr2(const char* s, const char* c);
struct miqt_string* QAbstractTransition_Tr3(const char* s, const char* c, int n);
struct miqt_string* QAbstractTransition_TrUtf82(const char* s, const char* c);
struct miqt_string* QAbstractTransition_TrUtf83(const char* s, const char* c, int n);
void QAbstractTransition_Delete(QAbstractTransition* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif