2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QACCESSIBLEOBJECT_H
|
|
|
|
#define GEN_QACCESSIBLEOBJECT_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
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 QAccessibleApplication;
|
|
|
|
class QAccessibleInterface;
|
|
|
|
class QAccessibleObject;
|
|
|
|
class QObject;
|
|
|
|
class QRect;
|
|
|
|
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 QAccessibleApplication QAccessibleApplication;
|
|
|
|
typedef struct QAccessibleInterface QAccessibleInterface;
|
|
|
|
typedef struct QAccessibleObject QAccessibleObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QWindow QWindow;
|
|
|
|
#endif
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QAccessibleObject_IsValid(const QAccessibleObject* self);
|
|
|
|
QObject* QAccessibleObject_Object(const QAccessibleObject* self);
|
|
|
|
QRect* QAccessibleObject_Rect(const QAccessibleObject* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QAccessibleObject_SetText(QAccessibleObject* self, uintptr_t t, struct miqt_string* text);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAccessibleInterface* QAccessibleObject_ChildAt(const QAccessibleObject* self, int x, int y);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
QAccessibleApplication* QAccessibleApplication_new();
|
2024-09-11 05:41:09 +00:00
|
|
|
QWindow* QAccessibleApplication_Window(const QAccessibleApplication* self);
|
|
|
|
int QAccessibleApplication_ChildCount(const QAccessibleApplication* self);
|
|
|
|
int QAccessibleApplication_IndexOfChild(const QAccessibleApplication* self, QAccessibleInterface* param1);
|
|
|
|
QAccessibleInterface* QAccessibleApplication_FocusChild(const QAccessibleApplication* self);
|
|
|
|
QAccessibleInterface* QAccessibleApplication_Parent(const QAccessibleApplication* self);
|
|
|
|
QAccessibleInterface* QAccessibleApplication_Child(const QAccessibleApplication* self, int index);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QAccessibleApplication_Text(const QAccessibleApplication* self, uintptr_t t);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QAccessibleApplication_Role(const QAccessibleApplication* self);
|
|
|
|
QAccessible__State* QAccessibleApplication_State(const QAccessibleApplication* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QAccessibleApplication_Delete(QAccessibleApplication* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|