Revision 5232014...

Go back to digest for 27th January 2013

Optimization in KDE-PIM

Jan Kundrát committed changes in [trojita] /Imap:

Wrote a new FullMessageCombiner class that combines the header and body
parts of a message into one part.

Made Changes to the ComposerAttachments class to use the
FullMessageCombiner.

Added Assertions in the ctor of the ImapMessageAttachmentItem and
FullMessageCombiner.

Removed the headerPartPtr() and bodyPartPtr() methods from the
ImapMessageAttachmentItem.

Made the FullMessageCombiner::data() returns the bodyPart and headerPart
data directly without caching.

File Changes

Added 2 files
  • /Imap/Model
  •   src/FullMessageCombiner.cpp
  •   src/FullMessageCombiner.h
Modified 3 files
  • /Imap
  •   src.pro
  •   src/Model/ComposerAttachments.cpp
  •   src/Model/ComposerAttachments.h
5 files changed in total