2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QABSTRACTTRANSITION_H
|
|
|
|
#define GEN_QABSTRACTTRANSITION_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#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
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QAbstractTransition_MetaObject(const QAbstractTransition* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QAbstractTransition_Metacast(QAbstractTransition* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QAbstractTransition_Tr(const char* s);
|
|
|
|
struct miqt_string QAbstractTransition_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QState* QAbstractTransition_SourceState(const QAbstractTransition* self);
|
|
|
|
QAbstractState* QAbstractTransition_TargetState(const QAbstractTransition* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QAbstractTransition_SetTargetState(QAbstractTransition* self, QAbstractState* target);
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QAbstractTransition_TargetStates(const QAbstractTransition* self);
|
|
|
|
void QAbstractTransition_SetTargetStates(QAbstractTransition* self, struct miqt_array /* of QAbstractState* */ targets);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QAbstractTransition_TransitionType(const QAbstractTransition* self);
|
|
|
|
void QAbstractTransition_SetTransitionType(QAbstractTransition* self, int typeVal);
|
2024-09-11 05:41:09 +00:00
|
|
|
QStateMachine* QAbstractTransition_Machine(const QAbstractTransition* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QAbstractTransition_AddAnimation(QAbstractTransition* self, QAbstractAnimation* animation);
|
|
|
|
void QAbstractTransition_RemoveAnimation(QAbstractTransition* self, QAbstractAnimation* animation);
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QAbstractTransition_Animations(const QAbstractTransition* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
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);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QAbstractTransition_Delete(QAbstractTransition* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|