MCPcopy Create free account
hub / github.com/KDAB/GammaRay / parent

Method parent

plugins/quickinspector/quickitemmodel.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81QModelIndex QuickItemModel::parent(const QModelIndex &child) const
82{
83 QQuickItem *childItem = reinterpret_cast<QQuickItem *>(child.internalPointer());
84 return indexForItem(m_childParentMap.value(childItem));
85}
86
87QModelIndex QuickItemModel::index(int row, int column, const QModelIndex &parent) const
88{

Callers 3

dataMethod · 0.45
recursivelyUpdateItemMethod · 0.45
itemModelDataChangedMethod · 0.45

Calls 1

valueMethod · 0.45

Tested by 1

itemModelDataChangedMethod · 0.36