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

Method parent

plugins/network/networkreplymodel.cpp:193–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193QModelIndex NetworkReplyModel::parent(const QModelIndex &child) const
194{
195 if (child.internalId() == TopIndex) {
196 return {};
197 }
198
199 return createIndex(child.internalId(), 0, TopIndex);
200}
201
202void NetworkReplyModel::objectCreated(QObject *obj)
203{

Callers 1

dataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected