2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QSTATEMACHINE_H
|
|
|
|
#define MIQT_QT_GEN_QSTATEMACHINE_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 QEvent;
|
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QStateMachine;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QStateMachine__SignalEvent)
|
|
|
|
typedef QStateMachine::SignalEvent QStateMachine__SignalEvent;
|
|
|
|
#else
|
|
|
|
class QStateMachine__SignalEvent;
|
|
|
|
#endif
|
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QStateMachine__WrappedEvent)
|
|
|
|
typedef QStateMachine::WrappedEvent QStateMachine__WrappedEvent;
|
|
|
|
#else
|
|
|
|
class QStateMachine__WrappedEvent;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QAbstractAnimation QAbstractAnimation;
|
|
|
|
typedef struct QAbstractState QAbstractState;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QStateMachine QStateMachine;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QStateMachine__SignalEvent QStateMachine__SignalEvent;
|
|
|
|
typedef struct QStateMachine__WrappedEvent QStateMachine__WrappedEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
QStateMachine* QStateMachine_new();
|
2024-09-18 00:12:02 +00:00
|
|
|
QStateMachine* QStateMachine_new2(int childMode);
|
2024-08-29 07:01:51 +00:00
|
|
|
QStateMachine* QStateMachine_new3(QObject* parent);
|
2024-09-18 00:12:02 +00:00
|
|
|
QStateMachine* QStateMachine_new4(int childMode, QObject* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QStateMachine_MetaObject(const QStateMachine* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QStateMachine_Metacast(QStateMachine* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStateMachine_Tr(const char* s);
|
|
|
|
struct miqt_string QStateMachine_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStateMachine_AddState(QStateMachine* self, QAbstractState* state);
|
|
|
|
void QStateMachine_RemoveState(QStateMachine* self, QAbstractState* state);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QStateMachine_Error(const QStateMachine* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStateMachine_ErrorString(const QStateMachine* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStateMachine_ClearError(QStateMachine* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QStateMachine_IsRunning(const QStateMachine* self);
|
|
|
|
bool QStateMachine_IsAnimated(const QStateMachine* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStateMachine_SetAnimated(QStateMachine* self, bool enabled);
|
|
|
|
void QStateMachine_AddDefaultAnimation(QStateMachine* self, QAbstractAnimation* animation);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QAbstractAnimation* */ QStateMachine_DefaultAnimations(const QStateMachine* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStateMachine_RemoveDefaultAnimation(QStateMachine* self, QAbstractAnimation* animation);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QStateMachine_GlobalRestorePolicy(const QStateMachine* self);
|
|
|
|
void QStateMachine_SetGlobalRestorePolicy(QStateMachine* self, int restorePolicy);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QStateMachine_PostEvent(QStateMachine* self, QEvent* event);
|
2024-08-25 04:08:24 +00:00
|
|
|
int QStateMachine_PostDelayedEvent(QStateMachine* self, QEvent* event, int delay);
|
|
|
|
bool QStateMachine_CancelDelayedEvent(QStateMachine* self, int id);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* set of QAbstractState* */ QStateMachine_Configuration(const QStateMachine* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QStateMachine_EventFilter(QStateMachine* self, QObject* watched, QEvent* event);
|
|
|
|
void QStateMachine_Start(QStateMachine* self);
|
|
|
|
void QStateMachine_Stop(QStateMachine* self);
|
|
|
|
void QStateMachine_SetRunning(QStateMachine* self, bool running);
|
|
|
|
void QStateMachine_RunningChanged(QStateMachine* self, bool running);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QStateMachine_connect_RunningChanged(QStateMachine* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStateMachine_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QStateMachine_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QStateMachine_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QStateMachine_TrUtf83(const char* s, const char* c, int n);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QStateMachine_PostEvent2(QStateMachine* self, QEvent* event, int priority);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStateMachine_Delete(QStateMachine* self);
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QStateMachine__SignalEvent* QStateMachine__SignalEvent_new(QStateMachine__SignalEvent* param1);
|
2024-09-11 05:41:09 +00:00
|
|
|
QObject* QStateMachine__SignalEvent_Sender(const QStateMachine__SignalEvent* self);
|
|
|
|
int QStateMachine__SignalEvent_SignalIndex(const QStateMachine__SignalEvent* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QStateMachine__SignalEvent_Delete(QStateMachine__SignalEvent* self);
|
|
|
|
|
|
|
|
QStateMachine__WrappedEvent* QStateMachine__WrappedEvent_new(QObject* object, QEvent* event);
|
|
|
|
QStateMachine__WrappedEvent* QStateMachine__WrappedEvent_new2(QStateMachine__WrappedEvent* param1);
|
2024-09-11 05:41:09 +00:00
|
|
|
QObject* QStateMachine__WrappedEvent_Object(const QStateMachine__WrappedEvent* self);
|
|
|
|
QEvent* QStateMachine__WrappedEvent_Event(const QStateMachine__WrappedEvent* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QStateMachine__WrappedEvent_Delete(QStateMachine__WrappedEvent* self);
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|