MCPcopy Create free account
hub / github.com/KDE/kdevelop / data

Method data

kdevplatform/debugger/util/treeitem.cpp:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148QVariant TreeItem::data(int column, int role) const
149{
150 if (role == Qt::DecorationRole)
151 return icon(column);
152 else if (role==Qt::DisplayRole || role == Qt::EditRole)
153 return itemData.value(column);
154 return QVariant();
155}
156
157TreeItem *TreeItem::parent()
158{

Callers

nothing calls this directly

Calls 2

QVariantClass · 0.50
valueMethod · 0.45

Tested by

no test coverage detected