MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / setHeaderData

Method setHeaderData

src/plugins/performance/mainframe/jsondisplaymodel.cpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84bool JsonDisplayModel::setHeaderData(int section, Qt::Orientation orientation,
85 const QVariant &value, int role)
86{
87 if (d->cacheFeild.empty()) {
88 return QStandardItemModel::setHeaderData(section, orientation, value, role);
89 } else {
90 return true;
91 }
92}
93
94QModelIndex JsonDisplayModel::index(int row, int column, const QModelIndex &parent) const
95{

Callers 1

setViewItemMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected