2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QACCESSIBLEWIDGET_H
|
|
|
|
#define GEN_QACCESSIBLEWIDGET_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QAccessible__State)
|
|
|
|
typedef QAccessible::State QAccessible__State;
|
|
|
|
#else
|
|
|
|
class QAccessible__State;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
class QAccessibleInterface;
|
|
|
|
class QAccessibleWidget;
|
|
|
|
class QColor;
|
|
|
|
class QRect;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QWidget;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QWindow;
|
|
|
|
#else
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QAccessible__State QAccessible__State;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QAccessibleInterface QAccessibleInterface;
|
|
|
|
typedef struct QAccessibleWidget QAccessibleWidget;
|
|
|
|
typedef struct QColor QColor;
|
|
|
|
typedef struct QRect QRect;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QWidget QWidget;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QWindow QWindow;
|
|
|
|
#endif
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QAccessibleWidget* QAccessibleWidget_new(QWidget* o);
|
2024-09-18 00:12:02 +00:00
|
|
|
QAccessibleWidget* QAccessibleWidget_new2(QWidget* o, int r);
|
2024-10-18 23:53:33 +00:00
|
|
|
QAccessibleWidget* QAccessibleWidget_new3(QWidget* o, int r, struct miqt_string name);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QAccessibleWidget_IsValid(const QAccessibleWidget* self);
|
|
|
|
QWindow* QAccessibleWidget_Window(const QAccessibleWidget* self);
|
|
|
|
int QAccessibleWidget_ChildCount(const QAccessibleWidget* self);
|
|
|
|
int QAccessibleWidget_IndexOfChild(const QAccessibleWidget* self, QAccessibleInterface* child);
|
|
|
|
QAccessibleInterface* QAccessibleWidget_FocusChild(const QAccessibleWidget* self);
|
|
|
|
QRect* QAccessibleWidget_Rect(const QAccessibleWidget* self);
|
|
|
|
QAccessibleInterface* QAccessibleWidget_Parent(const QAccessibleWidget* self);
|
|
|
|
QAccessibleInterface* QAccessibleWidget_Child(const QAccessibleWidget* self, int index);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QAccessibleWidget_Text(const QAccessibleWidget* self, int t);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QAccessibleWidget_Role(const QAccessibleWidget* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAccessible__State* QAccessibleWidget_State(const QAccessibleWidget* self);
|
|
|
|
QColor* QAccessibleWidget_ForegroundColor(const QAccessibleWidget* self);
|
|
|
|
QColor* QAccessibleWidget_BackgroundColor(const QAccessibleWidget* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QAccessibleWidget_InterfaceCast(QAccessibleWidget* self, int t);
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QAccessibleWidget_ActionNames(const QAccessibleWidget* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QAccessibleWidget_DoAction(QAccessibleWidget* self, struct miqt_string actionName);
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QAccessibleWidget_KeyBindingsForAction(const QAccessibleWidget* self, struct miqt_string actionName);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|