miqt/qt/gen_qhistorystate.h

54 lines
1.8 KiB
C++

#ifndef GEN_QHISTORYSTATE_H
#define GEN_QHISTORYSTATE_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 QAbstractState;
class QAbstractTransition;
class QHistoryState;
class QMetaObject;
class QState;
#else
typedef struct QAbstractState QAbstractState;
typedef struct QAbstractTransition QAbstractTransition;
typedef struct QHistoryState QHistoryState;
typedef struct QMetaObject QMetaObject;
typedef struct QState QState;
#endif
QHistoryState* QHistoryState_new();
QHistoryState* QHistoryState_new2(uintptr_t typeVal);
QHistoryState* QHistoryState_new3(QState* parent);
QHistoryState* QHistoryState_new4(uintptr_t typeVal, QState* parent);
QMetaObject* QHistoryState_MetaObject(const QHistoryState* self);
struct miqt_string* QHistoryState_Tr(const char* s);
struct miqt_string* QHistoryState_TrUtf8(const char* s);
QAbstractTransition* QHistoryState_DefaultTransition(const QHistoryState* self);
void QHistoryState_SetDefaultTransition(QHistoryState* self, QAbstractTransition* transition);
QAbstractState* QHistoryState_DefaultState(const QHistoryState* self);
void QHistoryState_SetDefaultState(QHistoryState* self, QAbstractState* state);
uintptr_t QHistoryState_HistoryType(const QHistoryState* self);
void QHistoryState_SetHistoryType(QHistoryState* self, uintptr_t typeVal);
struct miqt_string* QHistoryState_Tr2(const char* s, const char* c);
struct miqt_string* QHistoryState_Tr3(const char* s, const char* c, int n);
struct miqt_string* QHistoryState_TrUtf82(const char* s, const char* c);
struct miqt_string* QHistoryState_TrUtf83(const char* s, const char* c, int n);
void QHistoryState_Delete(QHistoryState* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif