D26740: Add KService::isSubseq as a public API for filtering queries.

Aleix Pol Gonzalez noreply at phabricator.kde.org
Fri Jan 17 23:41:08 GMT 2020


apol added a comment.


  Other than that, makes sense.

INLINE COMMENTS

> kservice.h:576
> +     */
> +    static bool isSubseq(const QString& pattern, const QString& text, Qt::CaseSensitivity cs = Qt::CaseSensitive);
> +

Can we give it a better name? How about something like `isContained`? or at least `isSubsequence`.

REPOSITORY
  R309 KService

REVISION DETAIL
  https://phabricator.kde.org/D26740

To: dfaure, michaeleden, aacid, davidedmundson
Cc: apol, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200117/5ea3899f/attachment.html>


More information about the Kde-frameworks-devel mailing list