2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QACTIONGROUP_H
|
|
|
|
#define GEN_QACTIONGROUP_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QAction;
|
|
|
|
class QActionGroup;
|
|
|
|
class QIcon;
|
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
#else
|
|
|
|
typedef struct QAction QAction;
|
|
|
|
typedef struct QActionGroup QActionGroup;
|
|
|
|
typedef struct QIcon QIcon;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QActionGroup* QActionGroup_new(QObject* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QActionGroup_MetaObject(const QActionGroup* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QActionGroup_Tr(const char* s);
|
|
|
|
struct miqt_string* QActionGroup_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
QAction* QActionGroup_AddAction(QActionGroup* self, QAction* a);
|
2024-09-14 22:29:05 +00:00
|
|
|
QAction* QActionGroup_AddActionWithText(QActionGroup* self, struct miqt_string* text);
|
|
|
|
QAction* QActionGroup_AddAction2(QActionGroup* self, QIcon* icon, struct miqt_string* text);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QActionGroup_RemoveAction(QActionGroup* self, QAction* a);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QActionGroup_Actions(const QActionGroup* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAction* QActionGroup_CheckedAction(const QActionGroup* self);
|
|
|
|
bool QActionGroup_IsExclusive(const QActionGroup* self);
|
|
|
|
bool QActionGroup_IsEnabled(const QActionGroup* self);
|
|
|
|
bool QActionGroup_IsVisible(const QActionGroup* self);
|
|
|
|
uintptr_t QActionGroup_ExclusionPolicy(const QActionGroup* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QActionGroup_SetEnabled(QActionGroup* self, bool enabled);
|
|
|
|
void QActionGroup_SetDisabled(QActionGroup* self, bool b);
|
|
|
|
void QActionGroup_SetVisible(QActionGroup* self, bool visible);
|
|
|
|
void QActionGroup_SetExclusive(QActionGroup* self, bool exclusive);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QActionGroup_SetExclusionPolicy(QActionGroup* self, uintptr_t policy);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QActionGroup_Triggered(QActionGroup* self, QAction* param1);
|
|
|
|
void QActionGroup_connect_Triggered(QActionGroup* self, void* slot);
|
|
|
|
void QActionGroup_Hovered(QActionGroup* self, QAction* param1);
|
|
|
|
void QActionGroup_connect_Hovered(QActionGroup* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QActionGroup_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QActionGroup_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QActionGroup_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QActionGroup_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QActionGroup_Delete(QActionGroup* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|