miqt/qt6/gen_qstackedwidget.h

81 lines
3.2 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QSTACKEDWIDGET_H
#define MIQT_QT6_GEN_QSTACKEDWIDGET_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 QEvent;
class QFrame;
2024-10-20 05:21:03 +00:00
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QObject;
class QPaintDevice;
class QPaintEvent;
class QSize;
2024-10-20 05:21:03 +00:00
class QStackedWidget;
2024-11-19 06:29:06 +00:00
class QStyleOptionFrame;
2024-10-20 05:21:03 +00:00
class QWidget;
#else
2024-11-19 06:29:06 +00:00
typedef struct QEvent QEvent;
typedef struct QFrame QFrame;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QObject QObject;
typedef struct QPaintDevice QPaintDevice;
typedef struct QPaintEvent QPaintEvent;
typedef struct QSize QSize;
2024-10-20 05:21:03 +00:00
typedef struct QStackedWidget QStackedWidget;
2024-11-19 06:29:06 +00:00
typedef struct QStyleOptionFrame QStyleOptionFrame;
2024-10-20 05:21:03 +00:00
typedef struct QWidget QWidget;
#endif
2024-12-07 04:15:57 +00:00
QStackedWidget* QStackedWidget_new(QWidget* parent);
QStackedWidget* QStackedWidget_new2();
void QStackedWidget_virtbase(QStackedWidget* src, QFrame** outptr_QFrame);
2024-10-20 05:21:03 +00:00
QMetaObject* QStackedWidget_MetaObject(const QStackedWidget* self);
void* QStackedWidget_Metacast(QStackedWidget* self, const char* param1);
struct miqt_string QStackedWidget_Tr(const char* s);
int QStackedWidget_AddWidget(QStackedWidget* self, QWidget* w);
int QStackedWidget_InsertWidget(QStackedWidget* self, int index, QWidget* w);
void QStackedWidget_RemoveWidget(QStackedWidget* self, QWidget* w);
QWidget* QStackedWidget_CurrentWidget(const QStackedWidget* self);
int QStackedWidget_CurrentIndex(const QStackedWidget* self);
int QStackedWidget_IndexOf(const QStackedWidget* self, QWidget* param1);
QWidget* QStackedWidget_Widget(const QStackedWidget* self, int param1);
int QStackedWidget_Count(const QStackedWidget* self);
void QStackedWidget_SetCurrentIndex(QStackedWidget* self, int index);
void QStackedWidget_SetCurrentWidget(QStackedWidget* self, QWidget* w);
void QStackedWidget_CurrentChanged(QStackedWidget* self, int param1);
void QStackedWidget_connect_CurrentChanged(QStackedWidget* self, intptr_t slot);
void QStackedWidget_WidgetRemoved(QStackedWidget* self, int index);
void QStackedWidget_connect_WidgetRemoved(QStackedWidget* self, intptr_t slot);
2024-11-19 06:29:06 +00:00
bool QStackedWidget_Event(QStackedWidget* self, QEvent* e);
2024-10-20 05:21:03 +00:00
struct miqt_string QStackedWidget_Tr2(const char* s, const char* c);
struct miqt_string QStackedWidget_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QStackedWidget_override_virtual_Event(void* self, intptr_t slot);
bool QStackedWidget_virtualbase_Event(void* self, QEvent* e);
void QStackedWidget_override_virtual_SizeHint(void* self, intptr_t slot);
QSize* QStackedWidget_virtualbase_SizeHint(const void* self);
void QStackedWidget_override_virtual_PaintEvent(void* self, intptr_t slot);
void QStackedWidget_virtualbase_PaintEvent(void* self, QPaintEvent* param1);
void QStackedWidget_override_virtual_ChangeEvent(void* self, intptr_t slot);
void QStackedWidget_virtualbase_ChangeEvent(void* self, QEvent* param1);
void QStackedWidget_override_virtual_InitStyleOption(void* self, intptr_t slot);
void QStackedWidget_virtualbase_InitStyleOption(const void* self, QStyleOptionFrame* option);
void QStackedWidget_Delete(QStackedWidget* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif