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

Method description

src/common/actionmanager/command.cpp:155–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155QString Command::description() const
156{
157 if (!d->defaultText.isEmpty())
158 return d->defaultText;
159 if (QAction *act = action()) {
160 const QString text = stripAccelerator(act->text());
161 if (!text.isEmpty())
162 return text;
163 }
164 return d->cmdId;
165}
166
167QString Command::id() const
168{

Callers 1

addMacroExpanderMethod · 0.45

Calls 3

stripAcceleratorFunction · 0.85
isEmptyMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected