[Kde-pim] Re: KMime::Content::fromUnicodeString() considered harmful

Thomas McGuire mcguire at kde.org
Thu Jun 23 09:36:32 BST 2011


Hi,

On Wednesday, June 22, 2011 01:38:30 PM Allen Winter wrote:
> On Tuesday 21 June 2011 9:03:37 AM Thomas McGuire wrote:
> > today I discovered that contrary to the documentation,
> > KMime::Content::fromUnicodeString() does not set the content transfer
> > encoding automatically, it needs to be done by the caller.
> > I fixed the documentation now.
> 
> Would it make sense to create a new method that forces setting the content
> transfer encoding and then deprecated the current method?

Yes, that would be the best IMHO.
I don't like changing the existing method, some code actually relies on the 
current behaviour and would break then.

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110623/a694de27/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list