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

Method rowCount

plugins/textdocumentinspector/textdocumentformatmodel.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41int TextDocumentFormatModel::rowCount(const QModelIndex &parent) const
42{
43 if (!m_format.isValid() || parent.isValid())
44 return 0;
45 return propertyEnum().keyCount();
46}
47
48int TextDocumentFormatModel::columnCount(const QModelIndex &parent) const
49{

Callers

nothing calls this directly

Calls 2

propertyEnumFunction · 0.85
isValidMethod · 0.45

Tested by

no test coverage detected