19 return CommandFactoryName();
27 const CommandKey& key()
const noexcept override {
return static_key(); }
28 QString description()
const override
37 , m_newComments{std::move(newComments)}
39 m_oldComments = obj.metadata().getComment();
44 auto& obj = m_path.find(ctx);
45 obj.metadata().setComment(m_oldComments);
50 auto& obj = m_path.find(ctx);
51 obj.metadata().setComment(m_newComments);
57 s << m_path << m_oldComments << m_newComments;
62 s >> m_path >> m_oldComments >> m_newComments;
67 QString m_oldComments;
68 QString m_newComments;
Definition DocumentContext.hpp:18