2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QABSTRACTTRANSITION_H
|
|
|
|
#define MIQT_QT_GEN_QABSTRACTTRANSITION_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#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;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QState;
|
|
|
|
class QStateMachine;
|
|
|
|
#else
|
|
|
|
typedef struct QAbstractAnimation QAbstractAnimation;
|
|
|
|
typedef struct QAbstractState QAbstractState;
|
|
|
|
typedef struct QAbstractTransition QAbstractTransition;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QEvent QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QObject QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
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-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QAbstractState* */ 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-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QAbstractAnimation* */ QAbstractTransition_Animations(const QAbstractTransition* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
bool QAbstractTransition_EventTest(QAbstractTransition* self, QEvent* event);
|
|
|
|
void QAbstractTransition_OnTransition(QAbstractTransition* self, QEvent* event);
|
|
|
|
bool QAbstractTransition_Event(QAbstractTransition* self, QEvent* e);
|
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-11-19 06:29:06 +00:00
|
|
|
void QAbstractTransition_Delete(QAbstractTransition* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|