miqt/qt6/gen_qactiongroup.h

86 lines
3.6 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QACTIONGROUP_H
#define MIQT_QT6_GEN_QACTIONGROUP_H
2024-10-20 18:21:03 +13:00
#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 QAction;
class QActionGroup;
2024-11-19 19:29:06 +13:00
class QChildEvent;
class QEvent;
2024-10-20 18:21:03 +13:00
class QIcon;
2024-11-19 19:29:06 +13:00
class QMetaMethod;
2024-10-20 18:21:03 +13:00
class QMetaObject;
class QObject;
2024-11-19 19:29:06 +13:00
class QTimerEvent;
2024-10-20 18:21:03 +13:00
#else
typedef struct QAction QAction;
typedef struct QActionGroup QActionGroup;
2024-11-19 19:29:06 +13:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
2024-10-20 18:21:03 +13:00
typedef struct QIcon QIcon;
2024-11-19 19:29:06 +13:00
typedef struct QMetaMethod QMetaMethod;
2024-10-20 18:21:03 +13:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
2024-11-19 19:29:06 +13:00
typedef struct QTimerEvent QTimerEvent;
2024-10-20 18:21:03 +13:00
#endif
2024-12-07 17:15:57 +13:00
QActionGroup* QActionGroup_new(QObject* parent);
void QActionGroup_virtbase(QActionGroup* src, QObject** outptr_QObject);
2025-02-01 13:45:16 +13:00
QMetaObject* QActionGroup_metaObject(const QActionGroup* self);
void* QActionGroup_metacast(QActionGroup* self, const char* param1);
struct miqt_string QActionGroup_tr(const char* s);
QAction* QActionGroup_addAction(QActionGroup* self, QAction* a);
QAction* QActionGroup_addActionWithText(QActionGroup* self, struct miqt_string text);
QAction* QActionGroup_addAction2(QActionGroup* self, QIcon* icon, struct miqt_string text);
void QActionGroup_removeAction(QActionGroup* self, QAction* a);
struct miqt_array /* of QAction* */ QActionGroup_actions(const QActionGroup* self);
QAction* QActionGroup_checkedAction(const QActionGroup* self);
bool QActionGroup_isExclusive(const QActionGroup* self);
bool QActionGroup_isEnabled(const QActionGroup* self);
bool QActionGroup_isVisible(const QActionGroup* self);
int QActionGroup_exclusionPolicy(const QActionGroup* self);
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);
void QActionGroup_setExclusionPolicy(QActionGroup* self, int policy);
void QActionGroup_triggered(QActionGroup* self, QAction* param1);
void QActionGroup_connect_triggered(QActionGroup* self, intptr_t slot);
void QActionGroup_hovered(QActionGroup* self, QAction* param1);
void QActionGroup_connect_hovered(QActionGroup* self, intptr_t slot);
struct miqt_string QActionGroup_tr2(const char* s, const char* c);
struct miqt_string QActionGroup_tr3(const char* s, const char* c, int n);
bool QActionGroup_override_virtual_event(void* self, intptr_t slot);
bool QActionGroup_virtualbase_event(void* self, QEvent* event);
bool QActionGroup_override_virtual_eventFilter(void* self, intptr_t slot);
bool QActionGroup_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
bool QActionGroup_override_virtual_timerEvent(void* self, intptr_t slot);
void QActionGroup_virtualbase_timerEvent(void* self, QTimerEvent* event);
bool QActionGroup_override_virtual_childEvent(void* self, intptr_t slot);
void QActionGroup_virtualbase_childEvent(void* self, QChildEvent* event);
bool QActionGroup_override_virtual_customEvent(void* self, intptr_t slot);
void QActionGroup_virtualbase_customEvent(void* self, QEvent* event);
bool QActionGroup_override_virtual_connectNotify(void* self, intptr_t slot);
void QActionGroup_virtualbase_connectNotify(void* self, QMetaMethod* signal);
bool QActionGroup_override_virtual_disconnectNotify(void* self, intptr_t slot);
void QActionGroup_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
void QActionGroup_delete(QActionGroup* self);
2024-10-20 18:21:03 +13:00
#ifdef __cplusplus
} /* extern C */
2025-02-01 13:45:16 +13:00
#endif
2024-10-20 18:21:03 +13:00
#endif