mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
63 lines
2.3 KiB
C++
63 lines
2.3 KiB
C++
#ifndef GEN_QACCESSIBLEWIDGET_H
|
|
#define GEN_QACCESSIBLEWIDGET_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "binding.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
|
|
class QAccessibleInterface;
|
|
class QAccessibleWidget;
|
|
class QColor;
|
|
class QRect;
|
|
class QWidget;
|
|
class QWindow;
|
|
#else
|
|
typedef struct QAccessible__State QAccessible__State;
|
|
typedef struct QAccessibleInterface QAccessibleInterface;
|
|
typedef struct QAccessibleWidget QAccessibleWidget;
|
|
typedef struct QColor QColor;
|
|
typedef struct QRect QRect;
|
|
typedef struct QWidget QWidget;
|
|
typedef struct QWindow QWindow;
|
|
#endif
|
|
|
|
QAccessibleWidget* QAccessibleWidget_new(QWidget* o);
|
|
QAccessibleWidget* QAccessibleWidget_new2(QWidget* o, uintptr_t r);
|
|
QAccessibleWidget* QAccessibleWidget_new3(QWidget* o, uintptr_t r, struct miqt_string* name);
|
|
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);
|
|
struct miqt_string* QAccessibleWidget_Text(const QAccessibleWidget* self, uintptr_t t);
|
|
uintptr_t QAccessibleWidget_Role(const QAccessibleWidget* self);
|
|
QAccessible__State* QAccessibleWidget_State(const QAccessibleWidget* self);
|
|
QColor* QAccessibleWidget_ForegroundColor(const QAccessibleWidget* self);
|
|
QColor* QAccessibleWidget_BackgroundColor(const QAccessibleWidget* self);
|
|
struct miqt_array* QAccessibleWidget_ActionNames(const QAccessibleWidget* self);
|
|
void QAccessibleWidget_DoAction(QAccessibleWidget* self, struct miqt_string* actionName);
|
|
struct miqt_array* QAccessibleWidget_KeyBindingsForAction(const QAccessibleWidget* self, struct miqt_string* actionName);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|