D10255: Prevent infinite recursion in messagelist

Denis Kurz noreply at phabricator.kde.org
Mon Feb 5 09:01:12 GMT 2018


dkurz added a comment.


  Now that I reread my comments, they sound more aggressive than I intended them to.
  
  I am currently working on a patch for eventviews' IncidenceTreeModel that extracts the tree-ifying code from this already big class into its own TreeNodeManager (working title). I was wondering if the message item code could profit from such a class, in which case I would try to make it powerful enough to manager Akonadi::Items instead of only VTODOs. Before I try, I have a question though: Is it safe to store Akonadi::Items persistently, and impose a tree datastructure on a collection of such items? The question is inspired by the distinction between QModelIndex and QPersistentModelIndex. To turn my negativity above into something constructive: My TreeNodeManager ("ItemTree"?) already contains some tests! Finally, is there a good repository for stuff that aids both messagelib and eventviews?

REPOSITORY
  R94 PIM: Message Library

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

To: winterz, dvratil
Cc: dkurz, dvratil, #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180205/14ba9868/attachment.html>


More information about the kde-pim mailing list