and operate on the resulting addressee object
- share the vcard viewer with kaddressbook now
- implemented importing contact into current addressbook
Also fixes wishlist item #40800
CCMAIL:40800-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=224433
has it's own cursor stack.
I added kcursorsaver, that makes sure that the cursor is restored when the object
gets out of scope (just as KConfigGroupSaver)
Now kmkernel doesn't has to cope with cursors anymore
svn path=/trunk/kdepim/; revision=221747
This was really a stupid bug:
- isHTML = DwMime::kSubtypeHtml == curNode->type();
+ isHTML = DwMime::kSubtypeHtml == curNode->subType();
- Use the correct charset for replies to PGP/MIME encrypted messages.
- Get rid of a some duplicate code.
Backport is pending.
svn path=/trunk/kdepim/; revision=215868
- Draw a nice frame around text attachments. The frame header contains the attachments name and the description. The name is an active URL which can be used the same way as the URL next to attachment icons, e. g. to easily save the attachment.
Some details:
kmreaderwin.*:
- Move the code which saves a message part to a temporary file from KMReaderWin::writePartIcon to a separate function KMReaderWin::writeMessagePartToTempFile.
- Change the HTML code which is generated for attachment icons resp. embedded images.
- Add note about improved threading to the list of new features.
- Change style for frame around embedded RFC822 attachments (why was the right border hidden??) and add style for frame around embedded text attachments.
objecttreeparser.cpp:
- replace !curNode->isAttachment() with curNode->hasContentDispositionInline() where appropriate
- fix the logic for displaying text message parts; a text message part is displayed inline if
- it's the first text part
- the attachment strategy is "inlined"
- the attachment strategy is "smart" and the cont. disp. of the msg part is "inline"
- we show only one mime part (i.e. the user selected some msg part in the mime tree viewer)
- draw frame around embedded text (non html) attachments, I should probably do the same for embedded text/html attachments
Backport will follow later.
svn path=/trunk/kdepim/; revision=213729
Some details:
partmetadata.h: PartMetaData gets an additional flag 'technicalProblem' which indicates technical problems during de/encryption, signing, signature verification
kmreaderwin.cpp: Add code to handle the new technicalProblem flag in writeSigstatHeader.
objecttreeparser.*:
- removed foundMatchingCryptPlug; instead kernel->cryptPlugList()->findForLibName() is used directly
- removed showMessageAndSetData; instead the messages are now creates directly in the code since they are too different
- get rid of the crypt plug error message boxes and instead generate error messages which are shown in the message status frames.
Probably most of the changed lines only got a different indention depth because some big if statements where removed.
svn path=/trunk/kdepim/; revision=212384
- use TeeHtmlWriter( FileHtmlWriter, KHtmlPartHtmlWriter ) if
KMAIL_READER_HTML_DEBUG is defined
- remove unused method
svn path=/trunk/kdepim/; revision=202595
- Don't crash if writeConfig() is called before readConfig() completes
(triggered by this patch)
- Replace writeMsgHeader() with headerStyle()->format()
Disclaimer: I know that "view all headers" is currently no different from
"view long headers". See my other commit.
Disclaimer 2: I know that calling update(true) two times instead of one is
less efficient. That's temporary (in setHeaderStyle()).
svn path=/trunk/kdepim/; revision=201417
HTML-Escaping is a job for HtmlFormatter.
- KHtmlPartHtmlWriter now operates directly on KHTMLPart, not any longer
via KMReaderWin.
- inline KHtmlPartHtmlWriter::queuedHtml() into KHtmlPartHtmlWriter::queue()
svn path=/trunk/kdepim/; revision=201111
KHtmlPartHtmlWriter, which therefore becomes a QObject.
Add a new HtmlWriter::reset() method that KHtmlPartHtmlWriter
uses to stop it's timer and empty the html queue.
Don't delete mHtmlWriter in KMReaderWin dtor anymore, but rely on QObjects
destroying it's parents.
svn path=/trunk/kdepim/; revision=201105