| 988 | } |
| 989 | |
| 990 | bool |
| 991 | FileSystemModel::isAcceptedByRegexps(const QString & path) const |
| 992 | { |
| 993 | QMutexLocker l(&_imp->filtersMutex); |
| 994 | |
| 995 | if ( _imp->encodedRegexps.isEmpty() ) { |
| 996 | return true; |
| 997 | } |
| 998 | |
| 999 | for (std::list<QRegExp>::const_iterator it = _imp->regexps.begin(); it != _imp->regexps.end(); ++it) { |
| 1000 | if ( it->exactMatch(path) ) { |
| 1001 | return true; |
| 1002 | } |
| 1003 | } |
| 1004 | |
| 1005 | return false; |
| 1006 | } |
| 1007 | |
| 1008 | void |
| 1009 | FileSystemModel::setSequenceModeEnabled(bool sequenceMode) |
no test coverage detected