D15760: WIP: Interface for mail headers in MimeTreeParser

Volker Krause noreply at phabricator.kde.org
Wed Oct 3 09:05:59 BST 2018


vkrause added inline comments.

INLINE COMMENTS

> nodehelper.cpp:526
> +    } */
> +    auto addressList = new KMime::Headers::Generics::AddressList();
> +    const auto hrd = message->headerByType(header);

where is this deleted again?

> nodehelper.cpp:529
> +    const QByteArray &data = hrd->as7BitString(false);
> +    addressList->from7BitString(data);
> +    return addressList;

This encodes and re-parses the header, is there no way to avoid that?

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/20181003/16f32668/attachment.html>


More information about the kde-pim mailing list