mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 00:49:18 +02:00
Qt5: forgotten QTACCESSIBILITY define
git-svn-id: trunk@64981 -
This commit is contained in:
parent
052438a840
commit
d84f74bc79
@ -153,10 +153,13 @@ type
|
|||||||
Q_PID = type int64;
|
Q_PID = type int64;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
|
{$IFDEF QTACCESSIBILITY}
|
||||||
QAccessibleEventH = class(TObject) end;
|
QAccessibleEventH = class(TObject) end;
|
||||||
QAccessibleInterfaceH = class(TObject) end;
|
QAccessibleInterfaceH = class(TObject) end;
|
||||||
QAccessibleWidgetH = class(QAccessibleInterfaceH) end;
|
QAccessibleWidgetH = class(QAccessibleInterfaceH) end;
|
||||||
QLCLAccessibleWidgetH = class(QAccessibleWidgetH) end;
|
QLCLAccessibleWidgetH = class(QAccessibleWidgetH) end;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
QAbstractNativeEventFilterH = class(TObject) end;
|
QAbstractNativeEventFilterH = class(TObject) end;
|
||||||
QAuthenticatorH = class(TObject) end;
|
QAuthenticatorH = class(TObject) end;
|
||||||
QBackingStoreH = class(TObject) end;
|
QBackingStoreH = class(TObject) end;
|
||||||
@ -14708,6 +14711,7 @@ procedure QAuthenticator_setOption(handle: QAuthenticatorH; opt: PWideString; va
|
|||||||
function QAuthenticator_isNull(handle: QAuthenticatorH): Boolean; cdecl; external Qt5PasLib name 'QAuthenticator_isNull';
|
function QAuthenticator_isNull(handle: QAuthenticatorH): Boolean; cdecl; external Qt5PasLib name 'QAuthenticator_isNull';
|
||||||
procedure QAuthenticator_detach(handle: QAuthenticatorH); cdecl; external Qt5PasLib name 'QAuthenticator_detach';
|
procedure QAuthenticator_detach(handle: QAuthenticatorH); cdecl; external Qt5PasLib name 'QAuthenticator_detach';
|
||||||
|
|
||||||
|
{$IFDEF QTACCESSIBILITY}
|
||||||
type
|
type
|
||||||
QAccessibleEvent = ( // QAccessible::Event
|
QAccessibleEvent = ( // QAccessible::Event
|
||||||
QAccessibleSoundPlayed = $0001,
|
QAccessibleSoundPlayed = $0001,
|
||||||
@ -14943,7 +14947,7 @@ type
|
|||||||
QAccessibleId = cardinal;
|
QAccessibleId = cardinal;
|
||||||
TInterfaceFactory = function(key: QStringH; obj: QObjectH): QAccessibleInterfaceH cdecl;
|
TInterfaceFactory = function(key: QStringH; obj: QObjectH): QAccessibleInterfaceH cdecl;
|
||||||
|
|
||||||
{$IFDEF QTACCESSIBILITY}
|
|
||||||
// actionNames_Override returns a single string with comma separated action names
|
// actionNames_Override returns a single string with comma separated action names
|
||||||
QLCLAccessibleWidget_actionNames_Override = procedure (names: PWideString) of object cdecl;
|
QLCLAccessibleWidget_actionNames_Override = procedure (names: PWideString) of object cdecl;
|
||||||
QLCLAccessibleWidget_child_Override = procedure (index: integer; out child: QAccessibleInterfaceH) of object cdecl;
|
QLCLAccessibleWidget_child_Override = procedure (index: integer; out child: QAccessibleInterfaceH) of object cdecl;
|
||||||
|
@ -19907,7 +19907,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
{$IFDEF QTACCESSIBILITY}
|
||||||
function LazRoleToQtRole(ALazRole: TLazAccessibilityRole): QAccessibleRole;
|
function LazRoleToQtRole(ALazRole: TLazAccessibilityRole): QAccessibleRole;
|
||||||
begin
|
begin
|
||||||
case ALazRole of
|
case ALazRole of
|
||||||
@ -19972,6 +19972,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
Result := S;
|
Result := S;
|
||||||
end;
|
end;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
function LCLControlRectToQtScreenRect(ARect: TRect; AControl: TControl): TRect;
|
function LCLControlRectToQtScreenRect(ARect: TRect; AControl: TControl): TRect;
|
||||||
var
|
var
|
||||||
|
Loading…
Reference in New Issue
Block a user