| 79 | } |
| 80 | |
| 81 | QString ProjectItemCompleter::pathFromIndex(const QModelIndex& index) const |
| 82 | { |
| 83 | QString postfix; |
| 84 | if(mModel->itemFromIndex(index)->folder()) |
| 85 | postfix=sep; |
| 86 | return KDevelop::joinWithEscaping(removeProjectBasePath( mModel->pathFromIndex(index), mBase ), sep, escape)+postfix; |
| 87 | } |
| 88 | |
| 89 | |
| 90 | ProjectItemValidator::ProjectItemValidator(QObject* parent): QValidator(parent) |
no test coverage detected