MCPcopy Create free account
hub / github.com/KDE/krita / addCommand

Method addCommand

libs/command/kis_command_utils.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 void AggregateCommand::addCommand(KUndo2Command *cmd)
37 {
38 if (!cmd) return;
39 m_store.addCommand(cmd);
40 }
41
42 LambdaCommand::LambdaCommand(std::function<KUndo2Command*()> createCommandFunc)
43 : m_createCommandFunc(createCommandFunc)

Callers 1

composeCommandsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected