| 885 | } |
| 886 | |
| 887 | void ProjectFileDialog::addExcludeFile() |
| 888 | { |
| 889 | const QFileInfo inf(mProjectFile->getFilename()); |
| 890 | const QDir &dir = inf.absoluteDir(); |
| 891 | QMap<QString,QString> filters; |
| 892 | filters[tr("Source files")] = "*.c *.cpp"; |
| 893 | filters[tr("All files")] = "*.*"; |
| 894 | addExcludePath(QFileDialog::getOpenFileName(this, tr("Exclude file"), dir.canonicalPath(), toFilterString(filters))); |
| 895 | } |
| 896 | |
| 897 | void ProjectFileDialog::editExcludePath() |
| 898 | { |
nothing calls this directly
no test coverage detected