[Kde-pim] [PATCH] Change two methods in KPimIdentities
Tom Albers
tomalbers at kde.nl
Mon Aug 20 08:19:11 BST 2007
At Monday 20 August 2007 01:41, you wrote:
> I am asking for permission to change two methods of the Identity class of
> KPimIdentities. These methods are only used by KMail.
>
> The rather small patch is attached.
>
> The only thing that changes is that the transport for each identity is now
> stored as an int instead of a string.
>
> This makes sense because the mailtransport library, which was recently
> introduced, uses int IDs as identifiers for the transports.
> Although KMail could use names to identify transports, this would make the
> code more cumbersome in some places. Using IDs is more natural.
>
> For reference, I also attached the KMail patch to deal with the changes. Note
> that the patch also gets rid of some cruft which is now handled inside
> mailtransport and fixes a bug or two (and does hopefully not introduce more).
>
> OK to commit next monday?
> (if there are no objections, I'll commit)
Hi Thomas,
I don't have any problem with the patch, except I did not look at the id-generation in general. If it can contain letters or starting zero's, this won't work.
Other than that, please commit (today is fine for me) ( i did not look at the kmail diff).
Toma
--
http://www.mailody.net
-------------- 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