KSMTP: remove dependency on KMime, by removing setMessage().
ClosedPublic

Authored by dfaure on Apr 22 2018, 9:18 AM.

Details

Summary

Update API DOX and unittest to use setData(QByteArray).
In practice, kmailtransport/plugins/smtp is already using that directly.

Test Plan

Compiles, unittest passes, all of kde/pim still compiles.

Diff Detail

Repository
R733 KSmtp
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure created this revision.Apr 22 2018, 9:18 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 22 2018, 9:18 AM
dfaure requested review of this revision.Apr 22 2018, 9:18 AM
mlaurent accepted this revision.Apr 22 2018, 9:20 AM
mlaurent added a subscriber: mlaurent.

Thanks for removing dead code.

This revision is now accepted and ready to land.Apr 22 2018, 9:20 AM
dfaure updated this revision to Diff 32769.Apr 22 2018, 9:34 AM

Improve unittest by actually testing the body too.

This revision was automatically updated to reflect the committed changes.