45 { kEventClassAccessibility, kEventAccessibleGetChildAtPoint },
46 { kEventClassAccessibility, kEventAccessibleGetNamedAttribute }
52 { kEventClassHIObject, kEventHIObjectConstruct },
53 { kEventClassHIObject, kEventHIObjectInitialize },
54 { kEventClassHIObject, kEventHIObjectDestruct },
55 { kEventClassHIObject, kEventHIObjectPrintDebugInfo }
61 { kEventClassAccessibility, kEventAccessibleGetChildAtPoint },
62 { kEventClassAccessibility, kEventAccessibleGetFocusedChild },
63 { kEventClassAccessibility, kEventAccessibleGetAllAttributeNames },
64 { kEventClassAccessibility, kEventAccessibleGetNamedAttribute },
65 { kEventClassAccessibility, kEventAccessibleSetNamedAttribute },
66 { kEventClassAccessibility, kEventAccessibleIsNamedAttributeSettable },
67 { kEventClassAccessibility, kEventAccessibleGetAllActionNames },
68 { kEventClassAccessibility, kEventAccessiblePerformNamedAction },
69 { kEventClassAccessibility, kEventAccessibleGetNamedActionDescription }
96 if (err && err != hiObjectClassExistsErr)
97 qWarning(
"qaccessible_mac internal error: Could not register accessibility HIObject subclass");
109 if (err && err != eventHandlerAlreadyInstalledErr)
110 qWarning(
"qaccessible_mac internal error: Could not install application accessibility event handler");
116 DisposeEventHandlerUPP(eventHandler);
static EventHandlerUPP objectCreateEventHandlerUPP
const struct __CFString * CFStringRef
static void installApplicationEventhandler()
static CFStringRef kObjectQtAccessibility
static void installAcessibilityEventHandler(HIObjectRef hiObject)
static EventHandlerUPP accessibilityEventHandlerUPP
static EventTypeSpec accessibilityEvents[]
static EventHandlerUPP applicationEventHandlerUPP
static void registerQtAccessibilityHIObjectSubclass()
static OSStatus accessibilityEventHandler(EventHandlerCallRef next_ref, EventRef event, void *data)
static void removeEventhandler(EventHandlerUPP eventHandler)
Q_CORE_EXPORT void qWarning(const char *,...)
static const char * data(const QByteArray &arr)
static EventTypeSpec objectCreateEvents[]
static OSStatus applicationEventHandler(EventHandlerCallRef next_ref, EventRef event, void *data)
struct OpaqueEventRef * EventRef
static OSStatus objectCreateEventHandler(EventHandlerCallRef next_ref, EventRef event, void *data)
static EventTypeSpec application_events[]
struct OpaqueHIObjectRef * HIObjectRef
struct OpaqueEventHandlerCallRef * EventHandlerCallRef
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...