| 3 | #include <QJsonArray> |
| 4 | |
| 5 | StructTreeNode::StructTreeNode(StructDef* const structDef, StructTreeNode* const parent, |
| 6 | bool isGroup, QString name) |
| 7 | { |
| 8 | m_isGroup = isGroup; |
| 9 | m_nodeName = std::move(name); |
| 10 | m_structDef = structDef; |
| 11 | m_parent = parent; |
| 12 | updateName(); |
| 13 | } |
| 14 | |
| 15 | StructTreeNode::StructTreeNode(StructTreeNode* node) |
| 16 | : m_isGroup(node->isGroup()), m_nodeName(QString(node->getName())), |
nothing calls this directly
no test coverage detected