Changeset View
Changeset View
Standalone View
Standalone View
messageviewer/src/viewer/objecttreeparser.h
Show First 20 Lines • Show All 404 Lines • ▼ Show 20 Line(s) | 401 | public:// (during refactoring) | |||
---|---|---|---|---|---|
405 | 405 | | |||
406 | MessagePart::Ptr processMultiPartMixedSubtype(KMime::Content *node, ProcessResult &result); | 406 | MessagePart::Ptr processMultiPartMixedSubtype(KMime::Content *node, ProcessResult &result); | ||
407 | MessagePart::Ptr processMultiPartAlternativeSubtype(KMime::Content *node, ProcessResult &result); | 407 | MessagePart::Ptr processMultiPartAlternativeSubtype(KMime::Content *node, ProcessResult &result); | ||
408 | MessagePart::Ptr processMultiPartSignedSubtype(KMime::Content *node, ProcessResult &result); | 408 | MessagePart::Ptr processMultiPartSignedSubtype(KMime::Content *node, ProcessResult &result); | ||
409 | MessagePart::Ptr processMultiPartEncryptedSubtype(KMime::Content *node, ProcessResult &result); | 409 | MessagePart::Ptr processMultiPartEncryptedSubtype(KMime::Content *node, ProcessResult &result); | ||
410 | 410 | | |||
411 | MessagePart::Ptr processApplicationPkcs7MimeSubtype(KMime::Content *node, ProcessResult &result); | 411 | MessagePart::Ptr processApplicationPkcs7MimeSubtype(KMime::Content *node, ProcessResult &result); | ||
412 | 412 | | |||
413 | void writeBodyString(const QByteArray &bodyString, | | |||
414 | const QString &fromAddress, | | |||
415 | const QTextCodec *codec, | | |||
416 | ProcessResult &result, bool decorate); | | |||
417 | | ||||
418 | void writePartIcon(KMime::Content *msgPart, bool inlineImage = false); | 413 | void writePartIcon(KMime::Content *msgPart, bool inlineImage = false); | ||
419 | 414 | | |||
420 | QString sigStatusToString(const Kleo::CryptoBackend::Protocol *cryptProto, | 415 | QString sigStatusToString(const Kleo::CryptoBackend::Protocol *cryptProto, | ||
421 | int status_code, | 416 | int status_code, | ||
422 | GpgME::Signature::Summary summary, | 417 | GpgME::Signature::Summary summary, | ||
423 | int &frameColor, | 418 | int &frameColor, | ||
424 | bool &showKeyInfos); | 419 | bool &showKeyInfos); | ||
425 | QString writeSigstatHeader(PartMetaData &part, | 420 | QString writeSigstatHeader(PartMetaData &part, | ||
426 | const Kleo::CryptoBackend::Protocol *cryptProto, | 421 | const Kleo::CryptoBackend::Protocol *cryptProto, | ||
427 | const QString &fromAddress, | 422 | const QString &fromAddress, | ||
428 | KMime::Content *node = 0); | 423 | KMime::Content *node = 0); | ||
429 | QString writeSigstatFooter(PartMetaData &part); | 424 | QString writeSigstatFooter(PartMetaData &part); | ||
430 | 425 | | |||
431 | void writeBodyStr(const QByteArray &bodyString, | | |||
432 | const QTextCodec *aCodec, | | |||
433 | const QString &fromAddress, | | |||
434 | KMMsgSignatureState &inlineSignatureState, | | |||
435 | KMMsgEncryptionState &inlineEncryptionState, | | |||
436 | bool decorate); | | |||
437 | | ||||
438 | QVector<MessagePart::Ptr> writeBodyStr2(const QByteArray &aStr, const QTextCodec *aCodec, | | |||
439 | const QString &fromAddress, | | |||
440 | KMMsgSignatureState &inlineSignatureState, | | |||
441 | KMMsgEncryptionState &inlineEncryptionState); | | |||
442 | | ||||
443 | bool isMailmanMessage(KMime::Content *curNode); | 426 | bool isMailmanMessage(KMime::Content *curNode); | ||
444 | 427 | | |||
445 | public: | 428 | public: | ||
446 | static KMime::Content *findType(KMime::Content *content, const QByteArray &mimeType, bool deep, bool wide); | 429 | static KMime::Content *findType(KMime::Content *content, const QByteArray &mimeType, bool deep, bool wide); | ||
447 | 430 | | |||
448 | static KMime::Content *findType(KMime::Content *content, const QByteArray &mediaType, const QByteArray &subType, bool deep, bool wide); | 431 | static KMime::Content *findType(KMime::Content *content, const QByteArray &mediaType, const QByteArray &subType, bool deep, bool wide); | ||
449 | 432 | | |||
450 | static KMime::Content *findTypeNot(KMime::Content *content, const QByteArray &mediaType, const QByteArray &subType, bool deep = true, bool wide = true); | 433 | static KMime::Content *findTypeNot(KMime::Content *content, const QByteArray &mediaType, const QByteArray &subType, bool deep = true, bool wide = true); | ||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |