Changeset View
Changeset View
Standalone View
Standalone View
mimetreeparser/src/viewer/nodehelper.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 51 | public: | |||
---|---|---|---|---|---|
71 | void setPartMetaData(KMime::Content *node, const PartMetaData &metaData); | 71 | void setPartMetaData(KMime::Content *node, const PartMetaData &metaData); | ||
72 | PartMetaData partMetaData(KMime::Content *node); | 72 | PartMetaData partMetaData(KMime::Content *node); | ||
73 | 73 | | |||
74 | /** | 74 | /** | ||
75 | * Set the 'Content-Type' by mime-magic from the contents of the body. | 75 | * Set the 'Content-Type' by mime-magic from the contents of the body. | ||
76 | * If autoDecode is true the decoded body will be used for mime type | 76 | * If autoDecode is true the decoded body will be used for mime type | ||
77 | * determination (this does not change the body itself). | 77 | * determination (this does not change the body itself). | ||
78 | */ | 78 | */ | ||
79 | void magicSetType(KMime::Content *node, bool autoDecode = true); | 79 | static void magicSetType(KMime::Content *node, bool autoDecode = true); | ||
80 | 80 | | |||
81 | /** | 81 | /** | ||
82 | * Return this mails subject, with all "forward" and "reply" | 82 | * Return this mails subject, with all "forward" and "reply" | ||
83 | * prefixes removed | 83 | * prefixes removed | ||
84 | */ | 84 | */ | ||
85 | static QString cleanSubject(KMime::Message *message); | 85 | static QString cleanSubject(KMime::Message *message); | ||
86 | 86 | | |||
87 | /** Attach an extra node to an existing node */ | 87 | /** Attach an extra node to an existing node */ | ||
▲ Show 20 Lines • Show All 194 Lines • Show Last 20 Lines |