MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / getCommanderUndoState

Method getCommanderUndoState

ElaWidgetTools/ElaActionCommander.cpp:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167
168bool ElaActionCommander::executeCommand(const QString& domainName, ElaActionCommand* command, bool isInvoke)
169{
170 Q_D(ElaActionCommander);
171 if (isInvoke)
172 {
173 bool result = false;
174 QMetaObject::invokeMethod(this, [&]() {
175 result = d->_executeCommand(domainName, command);
176 },
177 Qt::BlockingQueuedConnection);
178 return result;
179 }
180 return d->_executeCommand(domainName, command);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected