<table><tr><td style="">ahmadsamir added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28880">View Revision</a></tr></table><br /><div><div><p>There are only two places in KDE code where readEntryList() is used, falkon and kwalletmanager; in both cases readEntryList() was used with "*" which means "read all entries", which is logical since in both cases the list is used to fill a "password manager" of some kind.</p>
<p>I am thinking of having 3 new methods (right now there is read{Entry, Map, Password}List, very intuitively replace "read" with "get") that take a third parameter:<br />
enum KWallet::MatchType {KWallet::PlainText, KWallet::Regex}</p>
<p>this way in regex mode, the QString &key parameter is used to construct a QRegularExpression, abstracting the type of the regex class (nitpicking really, since given QRegExp has been around for what 10/15 years? QRegularExpression may live even longer with sturdy PCRE support o/...).</p>
<p>New method names solve some hurdles (e.g. overloading a function that takes only one QString param, and it actually invoked by a dbus call).</p>
<p>In the meantime: <a href="https://marc.info/?t=146788789300003&r=1&w=2" class="remarkup-link" target="_blank" rel="noreferrer">https://marc.info/?t=146788789300003&r=1&w=2</a> , can't say I understood all the issues there but it's definitely a grim read :)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R311 KWallet</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28880">https://phabricator.kde.org/D28880</a></div></div><br /><div><strong>To: </strong>ahmadsamir, Frameworks, dfaure, blaze<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns<br /></div>