ahmadsamir created this revision. ahmadsamir added a reviewer: dfaure. Herald added a project: Frameworks. ahmadsamir requested review of this revision.
REVISION SUMMARY doNameFilter() was the only protected function that took a QRegExp param., but I couldn't find any users of it in KDE. Also changed lstFilters from from QList to QVector. Port QRegExp::exactMatch() with QRegularExpression::anchoredPattern(), and QRegExp::Wildcard with QRegularExpression::wildcardToRegularExpression(). Note that setNameFilter() has some users, it took a QString param., which is used as the pattern for a QRegularExpression, but there are differences between valid QRegExp and QRegularExpression patterns. TEST PLAN make && ctest REPOSITORY R241 KIO BRANCH l-qregexp-deprecate (branched from master) REVISION DETAIL https://phabricator.kde.org/D26659 AFFECTED FILES src/core/kcoredirlister.cpp src/core/kcoredirlister.h src/core/kcoredirlister_p.h To: ahmadsamir, dfaure Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns