MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / findGroup

Method findGroup

src/common/actionmanager/actioncontainer.cpp:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70QList<Group>::const_iterator ActionContainerPrivate::findGroup(const QString &groupId) const
71{
72 auto it = groupList.cbegin();
73 while (it != groupList.constEnd()) {
74 if (it->id == groupId)
75 break;
76 ++it;
77 }
78 return it;
79}
80
81QAction *ActionContainerPrivate::insertLocation(QList<Group>::const_iterator group) const
82{

Callers 2

addActionMethod · 0.45
addMenuMethod · 0.45

Calls 1

cbeginMethod · 0.80

Tested by

no test coverage detected