D5667: delay filtering to the point when a new item gets its remote id
Daniel Vrátil
noreply at phabricator.kde.org
Sun Apr 30 15:54:03 BST 2017
dvratil requested changes to this revision.
dvratil added a comment.
This revision now requires changes to proceed.
This isn't going to work for other resources and has much higher overhead than itemAdded.
What I would suggest is to check if the Item has an RID and if it does not then register to it to a dedicated Monitor (Monitor::setMonitoredItem) and listen for this Monitor's itemChanged signal to check for RID change and then send the Item into the filtering pipeline and unregister it from the Monitor.
REPOSITORY
R206 KMail
REVISION DETAIL
https://phabricator.kde.org/D5667
To: mkoller, dvratil, mlaurent
Cc: #kde_pim, dvasin, ach, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20170430/76dda516/attachment.html>
More information about the kde-pim
mailing list