| 158 | } |
| 159 | |
| 160 | void Variable::resetChanged() |
| 161 | { |
| 162 | setChanged(false); |
| 163 | for (int i=0; i<childCount(); ++i) { |
| 164 | TreeItem* childItem = child(i); |
| 165 | if (qobject_cast<Variable*>(childItem)) { |
| 166 | static_cast<Variable*>(childItem)->resetChanged(); |
| 167 | } |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | Variable::format_t Variable::str2format(const QString& str) |
| 172 | { |