D15760: WIP: Interface for mail headers in MimeTreeParser

Volker Krause noreply at phabricator.kde.org
Sat Oct 20 09:45:18 BST 2018


vkrause added inline comments.

INLINE COMMENTS

> knauss wrote in nodehelper.cpp:529
> I don't understand the magic inside KMime not that deeply about all these headers and classes and subclasses. I just copied that part from messageviewer/src/header/headerstyle_util.cpp
> If you have any ideas how to improve this...

Well, first of all most of those headers are already of type AddressList, so those should be usable directly. For the one exception (From IIRC) the question is whether we need to convert that or if the consumer could handle that as well. Alternatively it might be worth looking if whatever the consumer expects can be added to From's type in KMime directly.

The KMime header class hierarchy pretty much follows the MIME RFCs one to one and uses the same names as defined in the standard.

REPOSITORY
  R94 PIM: Message Library

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

To: knauss, vkrause
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20181020/d90f9971/attachment.html>


More information about the kde-pim mailing list