| 131 | } |
| 132 | |
| 133 | Qt::ItemFlags UserScriptModel::flags(const QModelIndex& index) const |
| 134 | { |
| 135 | if (index.column() == 0) |
| 136 | return Qt::ItemIsUserCheckable | Qt::ItemIsEnabled | QAbstractTableModel::flags(index); |
| 137 | return QAbstractTableModel::flags(index); |
| 138 | } |
| 139 | |
| 140 | bool UserScriptModel::setData(const QModelIndex &index, const QVariant &/*value*/, int role) |
| 141 | { |
nothing calls this directly
no outgoing calls
no test coverage detected