| 50 | } |
| 51 | |
| 52 | Qt::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 | |
| 60 | QVariant NetworkConfigurationModel::data(const QModelIndex &index, int role) const |
| 61 | { |