miqt/qt6/gen_qaccessiblewidget.h

71 lines
2.9 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QACCESSIBLEWIDGET_H
#define MIQT_QT6_GEN_QACCESSIBLEWIDGET_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
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QAccessible__State)
typedef QAccessible::State QAccessible__State;
#else
class QAccessible__State;
#endif
2024-11-19 06:29:06 +00:00
class QAccessibleActionInterface;
2024-10-20 05:21:03 +00:00
class QAccessibleInterface;
2024-11-19 06:29:06 +00:00
class QAccessibleObject;
2024-10-20 05:21:03 +00:00
class QAccessibleWidget;
class QColor;
class QRect;
class QWidget;
class QWindow;
#else
typedef struct QAccessible__State QAccessible__State;
2024-11-19 06:29:06 +00:00
typedef struct QAccessibleActionInterface QAccessibleActionInterface;
2024-10-20 05:21:03 +00:00
typedef struct QAccessibleInterface QAccessibleInterface;
2024-11-19 06:29:06 +00:00
typedef struct QAccessibleObject QAccessibleObject;
2024-10-20 05:21:03 +00:00
typedef struct QAccessibleWidget QAccessibleWidget;
typedef struct QColor QColor;
typedef struct QRect QRect;
typedef struct QWidget QWidget;
typedef struct QWindow QWindow;
#endif
2024-12-07 04:15:57 +00:00
QAccessibleWidget* QAccessibleWidget_new(QWidget* o);
QAccessibleWidget* QAccessibleWidget_new2(QWidget* o, int r);
QAccessibleWidget* QAccessibleWidget_new3(QWidget* o, int r, struct miqt_string name);
void QAccessibleWidget_virtbase(QAccessibleWidget* src, QAccessibleObject** outptr_QAccessibleObject, QAccessibleActionInterface** outptr_QAccessibleActionInterface);
2024-10-20 05:21:03 +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);
2024-11-19 06:29:06 +00:00
struct miqt_array /* of struct miqt_map tuple of QAccessibleInterface* and int */ QAccessibleWidget_Relations(const QAccessibleWidget* self, int match);
2024-10-20 05:21:03 +00:00
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);
struct miqt_string QAccessibleWidget_Text(const QAccessibleWidget* self, int t);
int QAccessibleWidget_Role(const QAccessibleWidget* self);
QAccessible__State* QAccessibleWidget_State(const QAccessibleWidget* self);
QColor* QAccessibleWidget_ForegroundColor(const QAccessibleWidget* self);
QColor* QAccessibleWidget_BackgroundColor(const QAccessibleWidget* self);
void* QAccessibleWidget_InterfaceCast(QAccessibleWidget* self, int t);
struct miqt_array /* of struct miqt_string */ QAccessibleWidget_ActionNames(const QAccessibleWidget* self);
2024-10-20 05:21:03 +00:00
void QAccessibleWidget_DoAction(QAccessibleWidget* self, struct miqt_string actionName);
struct miqt_array /* of struct miqt_string */ QAccessibleWidget_KeyBindingsForAction(const QAccessibleWidget* self, struct miqt_string actionName);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif