miqt/qt6/gen_qwidgetaction.h

63 lines
2.3 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QWIDGETACTION_H
#define MIQT_QT6_GEN_QWIDGETACTION_H
2024-10-20 05:21:03 +00: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
2024-11-19 06:29:06 +00:00
class QAction;
class QEvent;
2024-10-20 05:21:03 +00:00
class QMetaObject;
class QObject;
class QWidget;
class QWidgetAction;
#else
2024-11-19 06:29:06 +00:00
typedef struct QAction QAction;
typedef struct QEvent QEvent;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QWidget QWidget;
typedef struct QWidgetAction QWidgetAction;
#endif
2024-12-07 04:15:57 +00:00
QWidgetAction* QWidgetAction_new(QObject* parent);
void QWidgetAction_virtbase(QWidgetAction* src, QAction** outptr_QAction);
2024-10-20 05:21:03 +00:00
QMetaObject* QWidgetAction_MetaObject(const QWidgetAction* self);
void* QWidgetAction_Metacast(QWidgetAction* self, const char* param1);
struct miqt_string QWidgetAction_Tr(const char* s);
void QWidgetAction_SetDefaultWidget(QWidgetAction* self, QWidget* w);
QWidget* QWidgetAction_DefaultWidget(const QWidgetAction* self);
QWidget* QWidgetAction_RequestWidget(QWidgetAction* self, QWidget* parent);
void QWidgetAction_ReleaseWidget(QWidgetAction* self, QWidget* widget);
2024-11-19 06:29:06 +00:00
bool QWidgetAction_Event(QWidgetAction* self, QEvent* param1);
bool QWidgetAction_EventFilter(QWidgetAction* self, QObject* param1, QEvent* param2);
QWidget* QWidgetAction_CreateWidget(QWidgetAction* self, QWidget* parent);
void QWidgetAction_DeleteWidget(QWidgetAction* self, QWidget* widget);
2024-10-20 05:21:03 +00:00
struct miqt_string QWidgetAction_Tr2(const char* s, const char* c);
struct miqt_string QWidgetAction_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QWidgetAction_override_virtual_Event(void* self, intptr_t slot);
bool QWidgetAction_virtualbase_Event(void* self, QEvent* param1);
void QWidgetAction_override_virtual_EventFilter(void* self, intptr_t slot);
bool QWidgetAction_virtualbase_EventFilter(void* self, QObject* param1, QEvent* param2);
void QWidgetAction_override_virtual_CreateWidget(void* self, intptr_t slot);
QWidget* QWidgetAction_virtualbase_CreateWidget(void* self, QWidget* parent);
void QWidgetAction_override_virtual_DeleteWidget(void* self, intptr_t slot);
void QWidgetAction_virtualbase_DeleteWidget(void* self, QWidget* widget);
void QWidgetAction_Delete(QWidgetAction* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif