Commit df2dac00 authored by Sandro Knauß's avatar Sandro Knauß
Browse files

The plugin interface change was not intended and is now roll backed.

parent 2cafd7d9
......@@ -61,7 +61,7 @@ namespace
class Formatter : public MessageViewer::Interface::BodyPartFormatter
{
public:
MessageViewer::Interface::BodyPartFormatter::Result format(MessageViewer::Interface::BodyPart *bodyPart, MessageViewer::Interface::HtmlWriter *writer) const Q_DECL_OVERRIDE
MessageViewer::Interface::BodyPartFormatter::Result format(MessageViewer::Interface::BodyPart *bodyPart, MessageViewer::HtmlWriter *writer) const Q_DECL_OVERRIDE
{
if (!writer) {
......
......@@ -38,7 +38,7 @@
#include "vcardmemento.h"
using MessageViewer::Interface::BodyPart;
#include "messageviewer/webkitparthtmlwriter.h"
#include <messageviewer/htmlwriter.h>
#include <Libkdepim/AddContactJob>
......@@ -69,12 +69,12 @@ public:
{
}
Result format(BodyPart *part, MessageViewer::Interface::HtmlWriter *writer) const Q_DECL_OVERRIDE
Result format(MessageViewer::Interface::BodyPart *part, MessageViewer::HtmlWriter *writer) const Q_DECL_OVERRIDE
{
return format(part, writer, 0);
}
Result format(BodyPart *bodyPart, MessageViewer::Interface::HtmlWriter *writer, QObject *asyncResultObserver) const Q_DECL_OVERRIDE
Result format(MessageViewer::Interface::BodyPart *bodyPart, MessageViewer::HtmlWriter *writer, QObject *asyncResultObserver) const Q_DECL_OVERRIDE
{
if (!writer) {
return Ok;
......
......@@ -32,7 +32,7 @@
#include <messageviewer/bodypartformatter.h>
#include <messageviewer/bodypart.h>
#include <messageviewer/bodyparturlhandler.h>
#include <messageviewer/webkitparthtmlwriter.h>
#include <messageviewer/htmlwriter.h>
#include <kstringhandler.h>
#include <qdebug.h>
......@@ -52,7 +52,7 @@ namespace
class Formatter : public MessageViewer::Interface::BodyPartFormatter
{
public:
Result format(MessageViewer::Interface::BodyPart *bodyPart, MessageViewer::Interface::HtmlWriter *writer) const Q_DECL_OVERRIDE
Result format(MessageViewer::Interface::BodyPart *bodyPart, MessageViewer::HtmlWriter *writer) const Q_DECL_OVERRIDE
{
if (!writer) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment