miqt/qt6/gen_qpushbutton.h

126 lines
6.5 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QPUSHBUTTON_H
#define MIQT_QT6_GEN_QPUSHBUTTON_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 QAbstractButton;
class QEvent;
class QFocusEvent;
2024-10-20 05:21:03 +00:00
class QIcon;
2024-11-19 06:29:06 +00:00
class QKeyEvent;
2024-10-20 05:21:03 +00:00
class QMenu;
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QMouseEvent;
class QObject;
class QPaintDevice;
class QPaintEvent;
class QPoint;
2024-10-20 05:21:03 +00:00
class QPushButton;
class QSize;
2024-11-19 06:29:06 +00:00
class QStyleOptionButton;
class QTimerEvent;
2024-10-20 05:21:03 +00:00
class QWidget;
#else
2024-11-19 06:29:06 +00:00
typedef struct QAbstractButton QAbstractButton;
typedef struct QEvent QEvent;
typedef struct QFocusEvent QFocusEvent;
2024-10-20 05:21:03 +00:00
typedef struct QIcon QIcon;
2024-11-19 06:29:06 +00:00
typedef struct QKeyEvent QKeyEvent;
2024-10-20 05:21:03 +00:00
typedef struct QMenu QMenu;
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QMouseEvent QMouseEvent;
typedef struct QObject QObject;
typedef struct QPaintDevice QPaintDevice;
typedef struct QPaintEvent QPaintEvent;
typedef struct QPoint QPoint;
2024-10-20 05:21:03 +00:00
typedef struct QPushButton QPushButton;
typedef struct QSize QSize;
2024-11-19 06:29:06 +00:00
typedef struct QStyleOptionButton QStyleOptionButton;
typedef struct QTimerEvent QTimerEvent;
2024-10-20 05:21:03 +00:00
typedef struct QWidget QWidget;
#endif
2024-11-19 06:29:06 +00:00
void QPushButton_new(QWidget* parent, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
void QPushButton_new2(QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
void QPushButton_new3(struct miqt_string text, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
void QPushButton_new4(QIcon* icon, struct miqt_string text, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
void QPushButton_new5(struct miqt_string text, QWidget* parent, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
void QPushButton_new6(QIcon* icon, struct miqt_string text, QWidget* parent, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
2024-10-20 05:21:03 +00:00
QMetaObject* QPushButton_MetaObject(const QPushButton* self);
void* QPushButton_Metacast(QPushButton* self, const char* param1);
struct miqt_string QPushButton_Tr(const char* s);
QSize* QPushButton_SizeHint(const QPushButton* self);
QSize* QPushButton_MinimumSizeHint(const QPushButton* self);
bool QPushButton_AutoDefault(const QPushButton* self);
void QPushButton_SetAutoDefault(QPushButton* self, bool autoDefault);
bool QPushButton_IsDefault(const QPushButton* self);
void QPushButton_SetDefault(QPushButton* self, bool defaultVal);
void QPushButton_SetMenu(QPushButton* self, QMenu* menu);
QMenu* QPushButton_Menu(const QPushButton* self);
void QPushButton_SetFlat(QPushButton* self, bool flat);
bool QPushButton_IsFlat(const QPushButton* self);
void QPushButton_ShowMenu(QPushButton* self);
2024-11-19 06:29:06 +00:00
bool QPushButton_Event(QPushButton* self, QEvent* e);
void QPushButton_PaintEvent(QPushButton* self, QPaintEvent* param1);
void QPushButton_KeyPressEvent(QPushButton* self, QKeyEvent* param1);
void QPushButton_FocusInEvent(QPushButton* self, QFocusEvent* param1);
void QPushButton_FocusOutEvent(QPushButton* self, QFocusEvent* param1);
void QPushButton_MouseMoveEvent(QPushButton* self, QMouseEvent* param1);
void QPushButton_InitStyleOption(const QPushButton* self, QStyleOptionButton* option);
bool QPushButton_HitButton(const QPushButton* self, QPoint* pos);
2024-10-20 05:21:03 +00:00
struct miqt_string QPushButton_Tr2(const char* s, const char* c);
struct miqt_string QPushButton_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QPushButton_override_virtual_SizeHint(void* self, intptr_t slot);
QSize* QPushButton_virtualbase_SizeHint(const void* self);
void QPushButton_override_virtual_MinimumSizeHint(void* self, intptr_t slot);
QSize* QPushButton_virtualbase_MinimumSizeHint(const void* self);
void QPushButton_override_virtual_Event(void* self, intptr_t slot);
bool QPushButton_virtualbase_Event(void* self, QEvent* e);
void QPushButton_override_virtual_PaintEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_PaintEvent(void* self, QPaintEvent* param1);
void QPushButton_override_virtual_KeyPressEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_KeyPressEvent(void* self, QKeyEvent* param1);
void QPushButton_override_virtual_FocusInEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_FocusInEvent(void* self, QFocusEvent* param1);
void QPushButton_override_virtual_FocusOutEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_FocusOutEvent(void* self, QFocusEvent* param1);
void QPushButton_override_virtual_MouseMoveEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_MouseMoveEvent(void* self, QMouseEvent* param1);
void QPushButton_override_virtual_InitStyleOption(void* self, intptr_t slot);
void QPushButton_virtualbase_InitStyleOption(const void* self, QStyleOptionButton* option);
void QPushButton_override_virtual_HitButton(void* self, intptr_t slot);
bool QPushButton_virtualbase_HitButton(const void* self, QPoint* pos);
void QPushButton_override_virtual_CheckStateSet(void* self, intptr_t slot);
void QPushButton_virtualbase_CheckStateSet(void* self);
void QPushButton_override_virtual_NextCheckState(void* self, intptr_t slot);
void QPushButton_virtualbase_NextCheckState(void* self);
void QPushButton_override_virtual_KeyReleaseEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_KeyReleaseEvent(void* self, QKeyEvent* e);
void QPushButton_override_virtual_MousePressEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_MousePressEvent(void* self, QMouseEvent* e);
void QPushButton_override_virtual_MouseReleaseEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_MouseReleaseEvent(void* self, QMouseEvent* e);
void QPushButton_override_virtual_ChangeEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_ChangeEvent(void* self, QEvent* e);
void QPushButton_override_virtual_TimerEvent(void* self, intptr_t slot);
void QPushButton_virtualbase_TimerEvent(void* self, QTimerEvent* e);
void QPushButton_Delete(QPushButton* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif