| 437 | |
| 438 | namespace KDevelop { |
| 439 | size_t qHash(const Path& path) |
| 440 | { |
| 441 | KDevHash hash; |
| 442 | for (const QString& segment : path.segments()) { |
| 443 | hash << qHash(segment); |
| 444 | } |
| 445 | |
| 446 | return hash; |
| 447 | } |
| 448 | |
| 449 | template<typename Container> |
| 450 | static Path::List toPathList_impl(const Container& list) |