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

Method setColumnHint

kdevplatform/util/placeholderitemproxymodel.cpp:55–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void PlaceholderItemProxyModel::setColumnHint(int column, const QVariant& hint)
56{
57 Q_D(PlaceholderItemProxyModel);
58
59 if (column < 0) {
60 return;
61 }
62
63 d->m_columnHints[column] = hint;
64
65 const int row = d->sourceRowCount();
66 emit dataChanged(index(row, 0), index(row, columnCount()));
67}
68
69Qt::ItemFlags PlaceholderItemProxyModel::flags(const QModelIndex& index) const
70{

Callers 2

BreakpointWidgetMethod · 0.80
EnvironmentWidgetMethod · 0.80

Calls 2

sourceRowCountMethod · 0.80
indexFunction · 0.50

Tested by

no test coverage detected