19 return CommandFactoryName();
27 const CommandKey& key()
const noexcept override {
return static_key(); }
28 QString description()
const override
37 , m_newName{std::move(newName)}
39 m_oldName = obj.metadata().getName();
44 auto& obj = m_path.find(ctx);
45 obj.metadata().setName(m_oldName);
50 auto& obj = m_path.find(ctx);
51 obj.metadata().setName(m_newName);
57 s << m_path << m_oldName << m_newName;
62 s >> m_path >> m_oldName >> m_newName;
Definition DocumentContext.hpp:18