Merged revisions 830406,831603 via svnmerge from
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
........
r830406 | staniek | 2008-07-10 13:07:35 +0200 (Thu, 10 Jul 2008) | 24 lines
Printing emails on Windows
The code (before patching) works on Linux (?) only by accident,
I guess (probably thanks to different strategy of handling QTimers with 0 delay [2]).
Explanation: KMReaderWin::printMsg() _can_ be executed before the timer
handling slotWriteNextHtmlChunk() finishes. And it is, on Windows.
- added KHtmlPartHtmlWriter::finished() signal, connected to KMReaderWin::slotPrintMsg().
- previous KMReaderWin::printMsg() code splitted into two pieces:
1st - KMReaderWin::printMsg( KMMessage* aMsg ) - connects the finished()
signal and calls setMsg(),
2nd - KMReaderWin::slotPrintMsg() - is a response for finished() signal,
calls mViewer->view()->print() and deletesLater() the KMReaderWin.
- at KMPrintCommand level, we keep QPointer<KMReaderWin> s_printerWin
globally until the KMReaderWin object is destroyed;
- on KMPrintCommand::execute() we call s_printerWin->htmlWriter()->reset()
to stop any previous processing
- added KMReaderWin::mPartHtmlWriter which is needed for connecting it's
signal to a slot
(reviewed)
........
r831603 | staniek | 2008-07-13 00:54:47 +0200 (Sun, 13 Jul 2008) | 23 lines
Printing emails:
Possible fix for Windows issue, reported at
http://intevation.de/roundup/kolab/issue2647
The code (before patching) works on Linux (?) only by accident, I guess
(probably thanks to different strategy of handling QTimers with 0 delay:
mHtmlTimer.start( 0 )).
Explanation: KMReaderWin::printMsg() _can_ be executed before
the timer handling slotWriteNextHtmlChunk() finishes. And it is, on Windows.
Details:
- added KHtmlPartHtmlWriter::finished() signal, connected to KMReaderWin::slotPrintMsg().
- previous KMReaderWin::printMsg() code splitted into two pieces:
1st - KMReaderWin::printMsg( KMMessage* aMsg ) - connects the finished()
signal and calls setMsg(),
2nd - KMReaderWin::slotPrintMsg() - is a response for finished() signal,
calls mViewer->view()->print() and deletesLater() the KMReaderWin.
- added KMReaderWin::mPartHtmlWriter which is needed for connecting its
signal to a slot
........
svn path=/branches/KDE/4.1/kdepim/; revision=835459
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
........
r830406 | staniek | 2008-07-10 13:07:35 +0200 (Thu, 10 Jul 2008) | 24 lines
Printing emails on Windows
The code (before patching) works on Linux (?) only by accident,
I guess (probably thanks to different strategy of handling QTimers with 0 delay [2]).
Explanation: KMReaderWin::printMsg() _can_ be executed before the timer
handling slotWriteNextHtmlChunk() finishes. And it is, on Windows.
- added KHtmlPartHtmlWriter::finished() signal, connected to KMReaderWin::slotPrintMsg().
- previous KMReaderWin::printMsg() code splitted into two pieces:
1st - KMReaderWin::printMsg( KMMessage* aMsg ) - connects the finished()
signal and calls setMsg(),
2nd - KMReaderWin::slotPrintMsg() - is a response for finished() signal,
calls mViewer->view()->print() and deletesLater() the KMReaderWin.
- at KMPrintCommand level, we keep QPointer<KMReaderWin> s_printerWin
globally until the KMReaderWin object is destroyed;
- on KMPrintCommand::execute() we call s_printerWin->htmlWriter()->reset()
to stop any previous processing
- added KMReaderWin::mPartHtmlWriter which is needed for connecting it's
signal to a slot
(reviewed)
........
r831603 | staniek | 2008-07-13 00:54:47 +0200 (Sun, 13 Jul 2008) | 23 lines
Printing emails:
Possible fix for Windows issue, reported at
http://intevation.de/roundup/kolab/issue2647
The code (before patching) works on Linux (?) only by accident, I guess
(probably thanks to different strategy of handling QTimers with 0 delay:
mHtmlTimer.start( 0 )).
Explanation: KMReaderWin::printMsg() _can_ be executed before
the timer handling slotWriteNextHtmlChunk() finishes. And it is, on Windows.
Details:
- added KHtmlPartHtmlWriter::finished() signal, connected to KMReaderWin::slotPrintMsg().
- previous KMReaderWin::printMsg() code splitted into two pieces:
1st - KMReaderWin::printMsg( KMMessage* aMsg ) - connects the finished()
signal and calls setMsg(),
2nd - KMReaderWin::slotPrintMsg() - is a response for finished() signal,
calls mViewer->view()->print() and deletesLater() the KMReaderWin.
- added KMReaderWin::mPartHtmlWriter which is needed for connecting its
signal to a slot
........
svn path=/trunk/KDE/kdepim/; revision=834651
- Use QHostInfo instead of KNetwork
- Q3Accel->KAction
- many QAction->KAction, so the default shortcut appears correct
again in the configure shortcuts dialog
The port of Q3Accel to KAction has the side effect that the shortcut
to scroll the message up/down can now be configured.
CCBUG:96301
svn path=/trunk/KDE/kdepim/; revision=803951
it provides very common functionality. Named it KPIM::TreeWidget
and used also as base of KMMimePartTree in kmail to maximize code reusal.
Others might take advantage of it.
Avoid using numeric constants for column indexes in KMMimePartTree.
Use descriptive preprocessor constants instead.
Implemented sorting in KMMimePartTree: it's useful when many attachments
are present and one wants only the ones of a certain type.
By default the sort indicator is not shown and we keep the sort insertion
order. We also revert to this order each time the view is filled.
Some minor additions to documentation
Source cleanup: inverted the order of a couple of functions.
svn path=/trunk/KDE/kdepim/; revision=803140
SVN commit 775972 by kloecker:
Prevent the message in the reader window from jumping back to the start of the message when the font or the font size is changed in the separate reader window.
svn path=/trunk/KDE/kdepim/; revision=776140
SVN commit 728947 by marten:
Backport of bugfix commit 728835 from trunk:
Don't send or prompt for an MDN for a message in a special folder, which is
most likely to have been written by this very user: outbox, sent, trash, drafts,
templates.
BUG #89855
SVN commit 730390 by kloecker:
Fix the problem that the shortcut for New Message to Mailing-List does not always work.
svn path=/branches/kdepim/enterprise/kdepim/; revision=733483
https://vkrause@svn.kde.org/home/kde/branches/work/~vkrause/enterprise
........
r702889 | vkrause | 2007-08-21 14:39:48 +0200 (Tue, 21 Aug 2007) | 5 lines
Allow to disable automatic decryption of encrypted mails when viewing
and offer a decrypt link instead in the reader.
Prokde35-z Item 41
........
svn path=/branches/kdepim/enterprise/kdepim/; revision=708741
Reasons:
- Most parts are disabled/commented out anyway
- The kdelibs part does not work
- Kopete won't be ready for KDE 4.0
- The author of KIMProxy (Will) is not going to fix KIMProxy,
but there are plans to add something similar later, probably
based on Decibel.
svn path=/trunk/KDE/kdepim/; revision=706534
into KParts::OpenUrlArguments and KParts::BrowserArguments.
This also allows the part to set arguments().mimeType() is the host didn't set it.
svn path=/trunk/KDE/kdepim/; revision=699514
The problem was that the old content-type was text/x-vcard, and the new one is text/directory.
To fix this, the following was changed:
- the vcard plugin now works for x-vcard/vcard/directory
- a new directory subtype has been added to mimelib
- parseMsg() also checks for both x-vcard and directory
svn path=/trunk/KDE/kdepim/; revision=698728