#ifndef GEN_QUNDOGROUP_H #define GEN_QUNDOGROUP_H #include #include #include #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include "../libmiqt/libmiqt.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus class QAction; class QMetaObject; class QObject; class QUndoGroup; class QUndoStack; #else typedef struct QAction QAction; typedef struct QMetaObject QMetaObject; typedef struct QObject QObject; typedef struct QUndoGroup QUndoGroup; typedef struct QUndoStack QUndoStack; #endif QUndoGroup* QUndoGroup_new(); QUndoGroup* QUndoGroup_new2(QObject* parent); QMetaObject* QUndoGroup_MetaObject(const QUndoGroup* self); void* QUndoGroup_Metacast(QUndoGroup* self, const char* param1); struct miqt_string QUndoGroup_Tr(const char* s); struct miqt_string QUndoGroup_TrUtf8(const char* s); void QUndoGroup_AddStack(QUndoGroup* self, QUndoStack* stack); void QUndoGroup_RemoveStack(QUndoGroup* self, QUndoStack* stack); struct miqt_array* QUndoGroup_Stacks(const QUndoGroup* self); QUndoStack* QUndoGroup_ActiveStack(const QUndoGroup* self); QAction* QUndoGroup_CreateUndoAction(const QUndoGroup* self, QObject* parent); QAction* QUndoGroup_CreateRedoAction(const QUndoGroup* self, QObject* parent); bool QUndoGroup_CanUndo(const QUndoGroup* self); bool QUndoGroup_CanRedo(const QUndoGroup* self); struct miqt_string QUndoGroup_UndoText(const QUndoGroup* self); struct miqt_string QUndoGroup_RedoText(const QUndoGroup* self); bool QUndoGroup_IsClean(const QUndoGroup* self); void QUndoGroup_Undo(QUndoGroup* self); void QUndoGroup_Redo(QUndoGroup* self); void QUndoGroup_SetActiveStack(QUndoGroup* self, QUndoStack* stack); void QUndoGroup_ActiveStackChanged(QUndoGroup* self, QUndoStack* stack); void QUndoGroup_connect_ActiveStackChanged(QUndoGroup* self, intptr_t slot); void QUndoGroup_IndexChanged(QUndoGroup* self, int idx); void QUndoGroup_connect_IndexChanged(QUndoGroup* self, intptr_t slot); void QUndoGroup_CleanChanged(QUndoGroup* self, bool clean); void QUndoGroup_connect_CleanChanged(QUndoGroup* self, intptr_t slot); void QUndoGroup_CanUndoChanged(QUndoGroup* self, bool canUndo); void QUndoGroup_connect_CanUndoChanged(QUndoGroup* self, intptr_t slot); void QUndoGroup_CanRedoChanged(QUndoGroup* self, bool canRedo); void QUndoGroup_connect_CanRedoChanged(QUndoGroup* self, intptr_t slot); void QUndoGroup_UndoTextChanged(QUndoGroup* self, struct miqt_string undoText); void QUndoGroup_connect_UndoTextChanged(QUndoGroup* self, intptr_t slot); void QUndoGroup_RedoTextChanged(QUndoGroup* self, struct miqt_string redoText); void QUndoGroup_connect_RedoTextChanged(QUndoGroup* self, intptr_t slot); struct miqt_string QUndoGroup_Tr2(const char* s, const char* c); struct miqt_string QUndoGroup_Tr3(const char* s, const char* c, int n); struct miqt_string QUndoGroup_TrUtf82(const char* s, const char* c); struct miqt_string QUndoGroup_TrUtf83(const char* s, const char* c, int n); QAction* QUndoGroup_CreateUndoAction2(const QUndoGroup* self, QObject* parent, struct miqt_string prefix); QAction* QUndoGroup_CreateRedoAction2(const QUndoGroup* self, QObject* parent, struct miqt_string prefix); void QUndoGroup_Delete(QUndoGroup* self); #ifdef __cplusplus } /* extern C */ #endif #endif