[Kde-pim] [PATCH] kmail

Tobias Koenig tokoe at kde.org
Sat Jul 28 14:38:57 BST 2007


On Sat, Jul 28, 2007 at 03:18:30PM +0200, Tobias Koenig wrote:

Hi,

the biggest changes have been done in kmail.

On of the central changes is that KMAcctCachedImap provides a method
groupwareType() now, which returns whether this account works on a Kolab
or Scalix server.

The default is Kolab, so the behaviour of the new code in comparison to
the old code has not changed!

Around this switch the following changes has been done:

  - the MIME data of the stored mails are adapted
    (kmailicalifaceimpl.cpp)
  - the X-SCALIX-ID command is send to the Scalix server on the
    beginning of every IMAP connection to switch the server into a
    special mode (yeah, don't ask...)
    (cachedimapjob.cpp)
  - new folders are created with X-CREATE-SPECIAL
    (cachedimapjob.cpp)

Because Scalix doesn't provides the types of the folders (contact
folder, calendar folder etc.) as IMAP annotations but as flags in the
IMAP listing, I had to extend the kmfoldercachedimap.cpp as well to
store the attributes for every folder.

To assign the correct folder type the method initScalixFolder has been
added, which is used by the kmailicalifaceimpl.cpp to setup the
groupware folders correctly.

Some helper functions have been put into scalix.h/cpp

Ciao,
Tobias
-- 
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdepim-scalix-kmail.patch
Type: text/x-diff
Size: 40648 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070728/0fc77684/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070728/0fc77684/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list