Cleanup HtmlWriter API

Authored by vkrause on Sep 30 2017, 7:16 PM.

Description

Cleanup HtmlWriter API

Summary:

  • merge Interface::HtmlWriter and HtmlWriter
  • remove queue() and flush(), which with the single synchronous buffer send to WebEngine have no meanings anymore
  • remove the unused CSS argument to begin()
  • remove TeeHtmlWriter, its debugging use has been superseded by the much more convenient direct access to the HTML source code in the mail source view

This prepares the next step of making HtmlWriter conceptually a QIODevice,
so we can use it directly with Grantlee's streaming API.

Reviewers: knauss

Reviewed By: knauss

Subscribers: KDE PIM

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D8083

Details

Committed
vkrauseOct 3 2017, 9:09 AM
Reviewer
knauss
Differential Revision
D8083: Cleanup HtmlWriter API
Parents
R94:c5be8cab54d6: Port to new connect api
Branches
Unknown
Tags
Unknown