| 141 | } |
| 142 | |
| 143 | QVariant TreeModel::treeData(const int row, const int column, const QModelIndex& parent, const int role) { |
| 144 | QModelIndex currentIndex = index(row, column, parent); |
| 145 | return data(currentIndex, role); |
| 146 | } |
| 147 | |
| 148 | QVariant TreeModel::data(const QModelIndex& index, int role) const { |
| 149 | if (!index.isValid()) |