| 43 | } |
| 44 | |
| 45 | QModelIndex EnvironmentItemModel::buddy(QModelIndex const& index) const |
| 46 | { |
| 47 | if (index.column() == 0) { |
| 48 | return this->index(index.row(), index.column() + 1, index.parent()); |
| 49 | } |
| 50 | return index; |
| 51 | } |
| 52 | |
| 53 | void EnvironmentItemModel::appendVariable(QString const& key, |
| 54 | QString const& value) |