[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] [UPDATE] kdepimlibs and ktnef
From:       Volker Krause <volker.krause () rwth-aachen ! de>
Date:       2006-07-02 20:39:04
Message-ID: 200607022239.08050.volker.krause () rwth-aachen ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday 02 July 2006 20:39, Ingo Klöcker wrote:
> On Sunday 02 July 2006 18:19, Reinhold Kainhofer wrote:
> > Am Sonntag, 2. Juli 2006 00:20 schrieb Allen Winter:
> > > After libkcal is moved into kdepimlibs, then we can move a couple
> > > of ktnef methods into libkcal, as per Volker's suggestion.   Then
> > > libkcal will no longer depend on ktnef.
> >
> > But basically, all of ktnef will be included in libkcal...
> >
> > I would go the other route: The only spot where ktnef is used in
> > libkcal is the IncidenceFormatter, which has two methods that are
> > only dedicated to formatting tnef attachments. I would simply make a
> >   class KTNEFIncidenceFormatter : public IncidenceFormatter {..}
> > in kdepimlibs/ktnef, which can then be used by KMail to format tnef.

That is what I actually meant.

> > The downside is that then ktnef depends on libkcal, while now, it is
> > a standalone-Qt-only library that parses tnef attachments. But for
> > the formatting it uses a Calendar, so the formatting depends on
> > libkcal anyway.
>
> I don't know what I'm talking about :-), but from following the
> discussion about libkcal and ktnef I'm wondering whether another
> feasible solution might be making libkcal and ktnef independent of each
> other by moving the classes which cause the dependence to a third
> library which would then depend on the other two libraries. Again, I
> don't know what I'm talking about, so this suggestion might be complete
> nonsense. :-)

Given that KMail seems to be the only user of these functions, moving them to 
KMail might be an option as well. It's not much code anyway.

regards
Volker

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic