MCPcopy Create free account
hub / github.com/KDAB/GammaRay / flags

Method flags

plugins/network/networkconfigurationmodel.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52Qt::ItemFlags NetworkConfigurationModel::flags(const QModelIndex &index) const
53{
54 const auto baseFlags = QAbstractTableModel::flags(index);
55 if (index.column() == 3)
56 return baseFlags | Qt::ItemIsEditable;
57 return baseFlags;
58}
59
60QVariant NetworkConfigurationModel::data(const QModelIndex &index, int role) const
61{

Callers 1

dataMethod · 0.45

Calls 1

columnMethod · 0.80

Tested by

no test coverage detected