MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / actionMatchesTarget

Function actionMatchesTarget

src/core/AutomationServer.cpp:565–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565bool 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
575ResolvedAction matchMenuAction(QMenu* menu, const QString& target)
576{

Callers 4

matchMenuActionFunction · 0.85
resolveMenuBarActionFunction · 0.85
doMenuMethod · 0.85

Calls 3

actionDisplayTextFunction · 0.85
actionDataTextFunction · 0.85
textMethod · 0.45

Tested by

no test coverage detected