miqt/qt/gen_qabstractstate.h

57 lines
1.9 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT_GEN_QABSTRACTSTATE_H
#define MIQT_QT_GEN_QABSTRACTSTATE_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QAbstractState;
2024-11-19 06:29:06 +00:00
class QEvent;
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QObject;
class QState;
class QStateMachine;
#else
typedef struct QAbstractState QAbstractState;
2024-11-19 06:29:06 +00:00
typedef struct QEvent QEvent;
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QObject QObject;
typedef struct QState QState;
typedef struct QStateMachine QStateMachine;
#endif
2024-12-07 04:15:57 +00:00
void QAbstractState_virtbase(QAbstractState* src, QObject** outptr_QObject);
QMetaObject* QAbstractState_MetaObject(const QAbstractState* self);
void* QAbstractState_Metacast(QAbstractState* self, const char* param1);
struct miqt_string QAbstractState_Tr(const char* s);
struct miqt_string QAbstractState_TrUtf8(const char* s);
QState* QAbstractState_ParentState(const QAbstractState* self);
QStateMachine* QAbstractState_Machine(const QAbstractState* self);
bool QAbstractState_Active(const QAbstractState* self);
void QAbstractState_ActiveChanged(QAbstractState* self, bool active);
void QAbstractState_connect_ActiveChanged(QAbstractState* self, intptr_t slot);
2024-11-19 06:29:06 +00:00
void QAbstractState_OnEntry(QAbstractState* self, QEvent* event);
void QAbstractState_OnExit(QAbstractState* self, QEvent* event);
bool QAbstractState_Event(QAbstractState* self, QEvent* e);
struct miqt_string QAbstractState_Tr2(const char* s, const char* c);
struct miqt_string QAbstractState_Tr3(const char* s, const char* c, int n);
struct miqt_string QAbstractState_TrUtf82(const char* s, const char* c);
struct miqt_string QAbstractState_TrUtf83(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QAbstractState_Delete(QAbstractState* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif