Changeset View
Changeset View
Standalone View
Standalone View
messageviewer/src/viewer/viewer_p.cpp
Show First 20 Lines • Show All 3019 Lines • ▼ Show 20 Line(s) | |||||
3020 | } | 3020 | } | ||
3021 | 3021 | | |||
3022 | void ViewerPrivate::setShowAttachmentQuicklist(bool showAttachmentQuicklist) | 3022 | void ViewerPrivate::setShowAttachmentQuicklist(bool showAttachmentQuicklist) | ||
3023 | { | 3023 | { | ||
3024 | mShowAttachmentQuicklist = showAttachmentQuicklist; | 3024 | mShowAttachmentQuicklist = showAttachmentQuicklist; | ||
3025 | mViewer->executeHideShowAttachmentsScripts(mShowAttachmentQuicklist); | 3025 | mViewer->executeHideShowAttachmentsScripts(mShowAttachmentQuicklist); | ||
3026 | } | 3026 | } | ||
3027 | 3027 | | |||
3028 | void ViewerPrivate::setHideEncryptionDetails(bool encDetails) | ||||
3029 | { | ||||
3030 | mViewer->executeHideShowEncryptionDetails(encDetails); | ||||
3031 | } | ||||
3032 | | ||||
3028 | void ViewerPrivate::scrollToAttachment(KMime::Content *node) | 3033 | void ViewerPrivate::scrollToAttachment(KMime::Content *node) | ||
3029 | { | 3034 | { | ||
3030 | const QString indexStr = node->index().toString(); | 3035 | const QString indexStr = node->index().toString(); | ||
3031 | // The anchors for this are created in ObjectTreeParser::parseObjectTree() | 3036 | // The anchors for this are created in ObjectTreeParser::parseObjectTree() | ||
3032 | mViewer->scrollToAnchor(QLatin1String("att") + indexStr); | 3037 | mViewer->scrollToAnchor(QLatin1String("att") + indexStr); | ||
3033 | 3038 | | |||
3034 | // Remove any old color markings which might be there | 3039 | // Remove any old color markings which might be there | ||
3035 | const KMime::Content *root = node->topLevel(); | 3040 | const KMime::Content *root = node->topLevel(); | ||
▲ Show 20 Lines • Show All 288 Lines • Show Last 20 Lines |