miqt/qt/gen_qaccessiblewidget.h

61 lines
2.3 KiB
C
Raw Normal View History

#ifndef GEN_QACCESSIBLEWIDGET_H
#define GEN_QACCESSIBLEWIDGET_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#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
class QAccessibleInterface;
class QAccessibleWidget;
class QColor;
class QRect;
2024-08-29 07:01:51 +00:00
class QWidget;
class QWindow;
#else
2024-08-29 07:01:51 +00:00
typedef struct QAccessible__State QAccessible__State;
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;
typedef struct QWindow QWindow;
#endif
2024-08-29 07:01:51 +00:00
QAccessibleWidget* QAccessibleWidget_new(QWidget* o);
QAccessibleWidget* QAccessibleWidget_new2(QWidget* o, uintptr_t r);
QAccessibleWidget* QAccessibleWidget_new3(QWidget* o, uintptr_t r, const char* name, size_t name_Strlen);
bool QAccessibleWidget_IsValid(QAccessibleWidget* self);
QWindow* QAccessibleWidget_Window(QAccessibleWidget* self);
int QAccessibleWidget_ChildCount(QAccessibleWidget* self);
int QAccessibleWidget_IndexOfChild(QAccessibleWidget* self, QAccessibleInterface* child);
QAccessibleInterface* QAccessibleWidget_FocusChild(QAccessibleWidget* self);
QRect* QAccessibleWidget_Rect(QAccessibleWidget* self);
QAccessibleInterface* QAccessibleWidget_Parent(QAccessibleWidget* self);
QAccessibleInterface* QAccessibleWidget_Child(QAccessibleWidget* self, int index);
2024-08-29 07:01:51 +00:00
void QAccessibleWidget_Text(QAccessibleWidget* self, uintptr_t t, char** _out, int* _out_Strlen);
uintptr_t QAccessibleWidget_Role(QAccessibleWidget* self);
QAccessible__State* QAccessibleWidget_State(QAccessibleWidget* self);
QColor* QAccessibleWidget_ForegroundColor(QAccessibleWidget* self);
QColor* QAccessibleWidget_BackgroundColor(QAccessibleWidget* self);
void QAccessibleWidget_ActionNames(QAccessibleWidget* self, char*** _out, int** _out_Lengths, size_t* _out_len);
void QAccessibleWidget_DoAction(QAccessibleWidget* self, const char* actionName, size_t actionName_Strlen);
void QAccessibleWidget_KeyBindingsForAction(QAccessibleWidget* self, const char* actionName, size_t actionName_Strlen, char*** _out, int** _out_Lengths, size_t* _out_len);
#ifdef __cplusplus
} /* extern C */
#endif
#endif