MCPcopy Create free account
hub / github.com/YACReader/yacreader / headerData

Method headerData

YACReaderLibrary/db/reading_list_model.cpp:115–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115QVariant ReadingListModel::headerData(int section, Qt::Orientation orientation, int role) const
116{
117 if (orientation == Qt::Horizontal && role == Qt::DisplayRole)
118 return rootItem->data(section);
119
120 return QVariant();
121}
122
123QModelIndex ReadingListModel::index(int row, int column, const QModelIndex &parent) const
124{

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected