MCPcopy Create free account
hub / github.com/KDAB/GammaRay / hasAmbiguousShortcut

Method hasAmbiguousShortcut

plugins/actioninspector/actionvalidator.cpp:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112bool ActionValidator::hasAmbiguousShortcut(const QAction *action) const
113{
114 QList<QKeySequence> shortcuts = action->shortcuts();
115 return std::any_of(shortcuts.constBegin(), shortcuts.constEnd(),
116 [action, this](const QKeySequence &seq) { return isAmbigous(action, seq); });
117}
118
119QVector<QKeySequence> GammaRay::ActionValidator::findAmbiguousShortcuts(const QAction *action) const
120{

Callers 1

dataMethod · 0.80

Calls 2

constBeginMethod · 0.45
constEndMethod · 0.45

Tested by

no test coverage detected