| 35 | |
| 36 | namespace { |
| 37 | QPair<QString, QString> splitFileAtExtension(const QString& fileName) |
| 38 | { |
| 39 | int idx = fileName.indexOf(QLatin1Char('.')); |
| 40 | if (idx == -1) { |
| 41 | return qMakePair(fileName, QString()); |
| 42 | } |
| 43 | return qMakePair(fileName.left(idx), fileName.mid(idx)); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | using namespace KDevelop; |
no test coverage detected