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

Method modelForView

plugins/debuggercommon/registers/modelsmanager.cpp:205–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205QStandardItemModel* Models::modelForView(QAbstractItemView* view) const
206{
207 for (const Model& m : m_models) {
208 if (m.view == view) {
209 return m.model.data();
210 }
211 }
212 return nullptr;
213}
214
215void ModelsManager::itemChanged(QStandardItem* i)
216{

Callers 1

flagChangedMethod · 0.80

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected