[Kde-pim] Extracting some code from KMail into a lib
Andras Mantia
amantia at kde.org
Fri Sep 24 07:23:14 BST 2010
Thomas McGuire wrote:
> Hi Andras,
>
> why not make MailCommon a singleton and let KMKernel be a subclass of it?
> That way, you could avoid passing it around all the time.
> Otherwise I'm ok with this.
I was thinking of something similar, like having another singleton, but
thought that having it in a lib (global static object) and having two
singletons (MailCommon and KMKernel) might not be a good idea.
I will give a mind-trip about what would be if KMKernel inherits MailCommon,
though.
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