[Kde-pim] Extracting some code from KMail into a lib

Andras Mantia amantia at kde.org
Sat Sep 25 11:46:29 BST 2010


Ingo Klöcker wrote:

> I agree with Thomas that it should be a proper singleton if it is a
> singleton. I don't see the problem with two singletons if in the desktop
> version MailCommon is just an interface to KMKernel.


Thanks for the opinion and your interface based solution. Meantime I chatted 
about this with Till as well, and decided to go on with the singleton 
solution (now either yours, or a singleton in the lib and KMKernel derives 
from it). Just that by following the refactoring in small steps, right now 
the lib has the MailCommon passing around, but I will change it next week to 
use a singleton there.

Andras

_______________________________________________
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