summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/mimetreeparser/nodehelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/nodehelper.h')
-rw-r--r--framework/src/domain/mime/mimetreeparser/nodehelper.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/nodehelper.h b/framework/src/domain/mime/mimetreeparser/nodehelper.h
index 2891f3bd..bf472413 100644
--- a/framework/src/domain/mime/mimetreeparser/nodehelper.h
+++ b/framework/src/domain/mime/mimetreeparser/nodehelper.h
@@ -76,11 +76,6 @@ public:
76 /** Get the extra nodes attached to the @param topLevelNode and all sub-nodes of @param topLevelNode */ 76 /** Get the extra nodes attached to the @param topLevelNode and all sub-nodes of @param topLevelNode */
77 QList<KMime::Content *> extraContents(KMime::Content *topLevelNode) const; 77 QList<KMime::Content *> extraContents(KMime::Content *topLevelNode) const;
78 78
79 /** Return a modified message (node tree) starting from @param topLevelNode that has the original nodes and the extra nodes.
80 The caller has the responsibility to delete the new message.
81 */
82 KMime::Message *messageWithExtraContent(KMime::Content *topLevelNode);
83
84 /** Get a QTextCodec suitable for this message part */ 79 /** Get a QTextCodec suitable for this message part */
85 const QTextCodec *codec(KMime::Content *node); 80 const QTextCodec *codec(KMime::Content *node);
86 81
@@ -149,14 +144,6 @@ public:
149 144
150 QString fromAsString(KMime::Content *node) const; 145 QString fromAsString(KMime::Content *node) const;
151 146
152 /**
153 * Returns a list of attachments of attached extra content nodes.
154 * This is mainly useful is order to get attachments of encrypted messages.
155 * Note that this does not include attachments from the primary node tree.
156 * @see KMime::Content::attachments().
157 */
158 QVector<KMime::Content *> attachmentsOfExtraContents() const;
159
160Q_SIGNALS: 147Q_SIGNALS:
161 void update(MimeTreeParser::UpdateMode); 148 void update(MimeTreeParser::UpdateMode);
162 149
@@ -165,9 +152,6 @@ private:
165 bool unencryptedMessage_helper(KMime::Content *node, QByteArray &resultingData, bool addHeaders, 152 bool unencryptedMessage_helper(KMime::Content *node, QByteArray &resultingData, bool addHeaders,
166 int recursionLevel = 1); 153 int recursionLevel = 1);
167 154
168 void mergeExtraNodes(KMime::Content *node);
169 void cleanFromExtraNodes(KMime::Content *node);
170
171 /** Creates a persistent index string that bridges the gap between the 155 /** Creates a persistent index string that bridges the gap between the
172 permanent nodes and the temporary ones. 156 permanent nodes and the temporary ones.
173 157