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

Method headerData

kdevplatform/util/environmentselectionmodel.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32QVariant EnvironmentSelectionModel::headerData(int section, Qt::Orientation orientation, int role) const
33{
34 if (section != 0 ||
35 orientation != Qt::Horizontal ||
36 role != Qt::DisplayRole) {
37 return QVariant();
38 }
39
40 return i18nc("@title:column", "Profile");
41}
42
43QVariant EnvironmentSelectionModel::data(const QModelIndex& index, int role) const
44{

Callers

nothing calls this directly

Calls 1

QVariantClass · 0.70

Tested by

no test coverage detected