| 642 | } |
| 643 | |
| 644 | void ProjectFileDialog::browseUserInclude() |
| 645 | { |
| 646 | const QFileInfo inf(mProjectFile->getFilename()); |
| 647 | const QDir &dir = inf.absoluteDir(); |
| 648 | QMap<QString,QString> filters; |
| 649 | filters[tr("C/C++ header")] = "*.h"; |
| 650 | filters[tr("All files")] = "*.*"; |
| 651 | QString fileName = QFileDialog::getOpenFileName(this, tr("Include file"), |
| 652 | dir.canonicalPath(), |
| 653 | toFilterString(filters)); |
| 654 | if (!fileName.isEmpty()) { |
| 655 | mUI->mEditUserInclude->setText(dir.relativeFilePath(fileName)); |
| 656 | } |
| 657 | } |
| 658 | |
| 659 | QStringList ProjectFileDialog::getProjectConfigurations() const |
| 660 | { |
nothing calls this directly
no test coverage detected