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

Method header

kdevplatform/util/multilevellistview.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 QVariant header(QAbstractItemModel* model, int section, Qt::Orientation orientation, int role) const
30 {
31 if (model && section == 0 && orientation == Qt::Horizontal && role == Qt::DisplayRole) {
32 return m_label;
33 } else {
34 return QVariant();
35 }
36 }
37
38protected:
39 QString m_label;

Callers 15

showEventMethod · 0.80
VariableToolTipMethod · 0.80
currentThreadChangedMethod · 0.80
selectItemDialogMethod · 0.80
eventViewClickedMethod · 0.80
VcsEventWidgetMethod · 0.80
ProjectManagerViewMethod · 0.80
QuickOpenWidgetMethod · 0.80
ExternalScriptViewMethod · 0.80
showEditDialogMethod · 0.80
GrepOutputViewMethod · 0.80
nextMethod · 0.80

Calls 1

QVariantClass · 0.70

Tested by 1

TestViewMethod · 0.64