MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / setNodeLabel

Method setNodeLabel

Source/GUI/StructEditor/StructSelectModel.cpp:453–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453void StructSelectModel::setNodeLabel(StructTreeNode* node, const QString name)
454{
455 node->setName(name);
456 QModelIndex index = getIndexFromTreeNode(node);
457 dataChanged(index, index);
458}
459
460StructTreeNode* StructSelectModel::getTreeNodeFromIndex(const QModelIndex& index)
461{

Callers

nothing calls this directly

Calls 1

setNameMethod · 0.80

Tested by

no test coverage detected