MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / headerData

Method headerData

src/LanguageStylesModel.cpp:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75QVariant LanguageStylesModel::headerData(int section, Qt::Orientation orientation, int role) const
76{
77 if (role == Qt::DisplayRole) {
78 if (orientation == Qt::Horizontal) {
79 return columns[section];
80 }
81 }
82
83 return QVariant();
84}
85
86int LanguageStylesModel::rowCount(const QModelIndex &parent) const
87{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected