reflect changes at mimetreeparser/messageviewer

wilder-work
Sandro Knauß 8 years ago
parent 5bbaa65730
commit 4942b283ed
  1. 2
      CMakeLists.txt
  2. 2
      src/kmcommands.cpp
  3. 4
      src/kmcommands.h
  4. 4
      src/kmmainwidget.cpp
  5. 6
      src/kmreaderwin.cpp
  6. 4
      src/kmreaderwin.h

@ -67,7 +67,7 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widget
set(LIBGRAVATAR_VERSION_LIB "5.6.80")
set(MAILCOMMON_LIB_VERSION_LIB "5.6.80")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.6.80")
set(MESSAGELIB_LIB_VERSION_LIB "5.6.80")
set(MESSAGELIB_LIB_VERSION_LIB "5.6.81")
set(LIBKLEO_LIB_VERSION_LIB "5.6.80")
set(PIMCOMMON_LIB_VERSION_LIB "5.6.80")
set(LIBKDEPIM_LIB_VERSION_LIB "5.6.80")

@ -1121,7 +1121,7 @@ void KMPrintCommand::setOverrideFont(const QFont &font)
mOverrideFont = font;
}
void KMPrintCommand::setAttachmentStrategy(const MimeTreeParser::AttachmentStrategy *strategy)
void KMPrintCommand::setAttachmentStrategy(const MessageViewer::AttachmentStrategy *strategy)
{
mAttachmentStrategy = strategy;
}

@ -385,14 +385,14 @@ public:
const QString &encoding = QString());
void setOverrideFont(const QFont &);
void setAttachmentStrategy(const MimeTreeParser::AttachmentStrategy *strategy);
void setAttachmentStrategy(const MessageViewer::AttachmentStrategy *strategy);
void setPrintPreview(bool preview);
private:
Result execute() override;
MessageViewer::HeaderStylePlugin *mHeaderStylePlugin = nullptr;
const MimeTreeParser::AttachmentStrategy *mAttachmentStrategy = nullptr;
const MessageViewer::AttachmentStrategy *mAttachmentStrategy = nullptr;
QFont mOverrideFont;
QString mEncoding;
MessageViewer::Viewer::DisplayFormatMessage mFormat;

@ -88,7 +88,7 @@ using KSieveUi::SieveDebugDialog;
#include "messageviewer/headerstyleplugin.h"
#include "messageviewer/headerstyle.h"
#include <MimeTreeParser/AttachmentStrategy>
#include <MessageViewer/AttachmentStrategy>
#ifndef QT_NO_CURSOR
#include "Libkdepim/KCursorSaver"
@ -198,7 +198,7 @@ using KPIM::ProgressManager;
using KPIM::BroadcastStatus;
using KMail::SearchWindow;
using KMime::Types::AddrSpecList;
using MimeTreeParser::AttachmentStrategy;
using MessageViewer::AttachmentStrategy;
Q_GLOBAL_STATIC(KMMainWidget::PtrList, theMainWidgetList)

@ -53,7 +53,7 @@ using MessageViewer::CSSHelper;
using namespace MessageViewer;
#include <MessageCore/MessageCoreSettings>
#include <MimeTreeParser/AttachmentStrategy>
#include <MessageViewer/AttachmentStrategy>
#include <MessageComposer/MessageSender>
#include "MessageComposer/Composer"
#include "MessageComposer/TextPart"
@ -232,7 +232,7 @@ void KMReaderWin::readConfig(void)
mViewer->readConfig();
}
void KMReaderWin::setAttachmentStrategy(const MimeTreeParser::AttachmentStrategy *strategy)
void KMReaderWin::setAttachmentStrategy(const MessageViewer::AttachmentStrategy *strategy)
{
mViewer->setAttachmentStrategy(strategy);
}
@ -524,7 +524,7 @@ void KMReaderWin::setDecryptMessageOverwrite(bool overwrite)
mViewer->setDecryptMessageOverwrite(overwrite);
}
const MimeTreeParser::AttachmentStrategy *KMReaderWin::attachmentStrategy() const
const MessageViewer::AttachmentStrategy *KMReaderWin::attachmentStrategy() const
{
return mViewer->attachmentStrategy();
}

@ -60,9 +60,9 @@ public:
void readConfig();
/** Get/set the message attachment strategy. */
const MimeTreeParser::AttachmentStrategy *attachmentStrategy() const;
const MessageViewer::AttachmentStrategy *attachmentStrategy() const;
void setAttachmentStrategy(const MimeTreeParser::AttachmentStrategy *strategy);
void setAttachmentStrategy(const MessageViewer::AttachmentStrategy *strategy);
/** Get selected override character encoding.
@return The encoding selected by the user or an empty string if auto-detection

Loading…
Cancel
Save