| 563 | } |
| 564 | |
| 565 | bool actionMatchesTarget(const QAction* action, const QString& target) |
| 566 | { |
| 567 | return action->objectName() == target |
| 568 | || action->text() == target |
| 569 | || actionDisplayText(action) == target |
| 570 | || action->toolTip() == target |
| 571 | || action->statusTip() == target |
| 572 | || actionDataText(action) == target; |
| 573 | } |
| 574 | |
| 575 | ResolvedAction matchMenuAction(QMenu* menu, const QString& target) |
| 576 | { |
no test coverage detected