QAccessible::PushButton is deprecated in favor of just Button

Change-Id: I2878a28f18f3a004705ec50f616846f6cd00eed1
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
This commit is contained in:
Frederik Gladhorn 2014-07-07 14:21:29 +02:00
parent 8663ccb039
commit c10ba1ada0

View File

@ -140,7 +140,7 @@ static void populateRoleMap()
roleMap[QAccessible::Row] = NSAccessibilityRowRole; roleMap[QAccessible::Row] = NSAccessibilityRowRole;
roleMap[QAccessible::RowHeader] = NSAccessibilityRowRole; roleMap[QAccessible::RowHeader] = NSAccessibilityRowRole;
roleMap[QAccessible::Cell] = NSAccessibilityTextFieldRole; roleMap[QAccessible::Cell] = NSAccessibilityTextFieldRole;
roleMap[QAccessible::PushButton] = NSAccessibilityButtonRole; roleMap[QAccessible::Button] = NSAccessibilityButtonRole;
roleMap[QAccessible::EditableText] = NSAccessibilityTextFieldRole; roleMap[QAccessible::EditableText] = NSAccessibilityTextFieldRole;
roleMap[QAccessible::Link] = NSAccessibilityLinkRole; roleMap[QAccessible::Link] = NSAccessibilityLinkRole;
roleMap[QAccessible::Indicator] = NSAccessibilityValueIndicatorRole; roleMap[QAccessible::Indicator] = NSAccessibilityValueIndicatorRole;