decreaseAction(QStringLiteral(QT_TRANSLATE_NOOP("QAccessibleActionInterface", "Decrease"))),
showMenuAction(QStringLiteral(QT_TRANSLATE_NOOP("QAccessibleActionInterface", "ShowMenu"))),
setFocusAction(QStringLiteral(QT_TRANSLATE_NOOP("QAccessibleActionInterface", "SetFocus"))),
+ toggleAction(QStringLiteral(QT_TRANSLATE_NOOP("QAccessibleActionInterface", "Toggle"))),
checkAction(QStringLiteral(QT_TRANSLATE_NOOP("QAccessibleActionInterface", "Check"))),
uncheckAction(QStringLiteral(QT_TRANSLATE_NOOP("QAccessibleActionInterface", "Uncheck"))) {}
const QString decreaseAction;
const QString showMenuAction;
const QString setFocusAction;
+ const QString toggleAction;
const QString checkAction;
const QString uncheckAction;
};
return tr("Shows the menu");
else if (actionName == strings->setFocusAction)
return tr("Sets the focus");
+ else if (actionName == strings->toggleAction)
+ return tr("Toggles the state");
else if (actionName == strings->checkAction)
return tr("Checks the checkbox");
else if (actionName == strings->uncheckAction)
}
/*!
+ Returns the name of the toggle default action.
+ \sa actionNames(), localizedActionName()
+ */
+const QString &QAccessibleActionInterface::toggleAction()
+{
+ return accessibleActionStrings()->toggleAction;
+}
+
+/*!
Returns the name of the check default action.
\sa actionNames(), localizedActionName()
*/