[Kde-pim] Ideas for solution to Bug 63780 :

Christian Mollekopf chrigi_1 at fastmail.fm
Wed Mar 21 21:57:50 GMT 2012



On Wed, Mar 21, 2012, at 11:38 AM, laurent Montel wrote:
> Hi,
> I already look at it 2 months ago, and idea it to improve kaddressbook (I 
> already created patch for it) to add new status "How to read email from 
> specific address"
> and after update messageviewer from this status from email when we got
> info 
> from address. (it's still missing from my patch)

Hey laurent,

Can I have a look at that patch somewhere?
>From what I understand you want to add a new field to the contacts (just
as we have the crypto settings),
which should be planned carefully. We need some mapping to vCard for all
values, otherwise the setting will be lost on synchronization.
My primary concern is of course kolab, but the same is true for other
services such as google etc.

Cheers,
Christian

> 
> Regards
> 
> 
> Le mercredi 21 mars 2012 13:45:52 Jayesh Badwaik a écrit :
> > Hi,
> > 
> > I am interested in resolving the feature request given here [0]. The bug
> > title is "Auto-render HTML for certain email addresses". The idea is that
> > for certain messages (especially from the trusted source), it is helpful to
> > have an automatic rendering of HTML messages.
> > 
> > In that respect, I have come up with the following solution:
> > 
> > 1. Add an enum attribute to the MessageList::Core::MessageItem (say
> > HTMLRender) (possibly bool)
> 
> Why ? why store status in each item ?
> 
> > 2. Add a MailCommon::FilterActionEnableHTMLRender class (derived from
> > MailCommon::Filter Action) which implements changing the HTMLRender
> > atttribute to proper value
> 
> > 3a. (This is the step I am not sure about)
> > In the KMReaderMainWin class, the bool variable ahtml should be intialized
> > by access the HTMLRender enum from that specific MessageItem instance
> > instead of getting a static variable.
> > 
> > 3b. Or may be, the static variable stays as it is, but is turned into an int
> > which has three options:
> > 	a. Force Disable HTML for all Mail
> >      b. Enable HTML for mail with HTMLRender=yes and Disable for Others
> >      c.  Enable HTML for all Mail
> > 
> > and then inside the code, somewhere, depending on the value of ahtml, we
> > override the HTML value with one decided from HTMLRender enum.
> > 
> > --
> > Jayesh Badwaik
> > 
> > 
> > [0]: https://bugs.kde.org/show_bug.cgi?id=63780
> > 
> > _______________________________________________
> > 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/
> -- 
> Laurent Montel | laurent.montel at kdab.com | KDE/Qt Senior Software
> Engineer
> KDAB (France) S.A.S., a KDAB Group company
> Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
> KDAB - Qt Experts - Platform-independent software solutions
> _______________________________________________
> 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/
_______________________________________________
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