Commit 9fae40e9 authored by Sandro Knauß's avatar Sandro Knauß

move quotedHTML to messagepart

parent ad9b1d03
This diff is collapsed.
......@@ -237,6 +237,10 @@ public:
bool hasSubParts() const;
protected:
/** Change the string to `quoted' html (meaning, that the quoted
part of the message get italized */
QString quotedHTML(const QString &s, bool decorate);
void parseInternal(KMime::Content *node, bool onlyOneMimePart);
void renderInternalHtml(bool decorate) const;
QString renderInternalText() const;
......@@ -252,6 +256,12 @@ protected:
bool mRoot;
private:
CSSHelperBase *cssHelper() const;
Interface::ObjectTreeSource *source() const;
QString mCollapseIcon;
QString mExpandIcon;
KMime::Content *attachmentNode() const;
HTMLBlock::Ptr internalAttachmentBlock() const;
HTMLBlock::Ptr internalRootBlock() const;
......
......@@ -361,10 +361,6 @@ private:
Interface::MessagePartPtr defaultHandling(KMime::Content *node, ProcessResult &result);
public:// (during refactoring)
/** Change the string to `quoted' html (meaning, that the quoted
part of the message get italized */
QString quotedHTML(const QString &pos, bool decorate);
public:
bool printing() const;
......@@ -374,11 +370,6 @@ private:
void init();
const QTextCodec *codecFor(KMime::Content *node) const;
/** Check if the newline at position @p newLinePos in string @p s
seems to separate two paragraphs (important for correct BiDi
behavior, but is heuristic because paragraphs are not
well-defined) */
bool looksLikeParaBreak(const QString &s, unsigned int newLinePos) const;
void copyContentFrom(const ObjectTreeParser *other);
......
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