| 199 | |
| 200 | template <class Key, class T> |
| 201 | static void insertIntoMap(QMap<Key, T>& Map, const QMap<Key, T> &map) |
| 202 | { |
| 203 | #if QT_VERSION >= 0x050F00 |
| 204 | Map.insert(map); |
| 205 | #else |
| 206 | for (auto itc = map.constBegin(); itc != map.constEnd(); ++itc) |
| 207 | { |
| 208 | Map.insert(itc.key(), itc.value()); |
| 209 | } |
| 210 | #endif |
| 211 | } |
| 212 | |
| 213 | |
| 214 | /** |