D23667: Add == and != operators to KIO::UDSEntry

David Faure noreply at phabricator.kde.org
Sat Sep 21 04:56:51 BST 2019


dfaure added a comment.


  Note that there is `KFileItem::cmp` for a more thorough comparison of two fileitems. But it only looks at some UDS fields -- those that matter at the KDirLister level.
  Or maybe it shows that UDSEntry::operator== was missing so KFileItem::cmp uses a poor man's version of that ;)
  This confirms the need for such an operator== indeed (though I wouldn't change the implementation of KFileItem::cmp until we see a need to do that).
  
  Thanks for the explanation.

REPOSITORY
  R241 KIO

BRANCH
  arcpatch-D23667

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

To: meven, #frameworks, ngraham, dfaure
Cc: dfaure, pino, ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190921/05d38632/attachment.html>


More information about the Kde-frameworks-devel mailing list