Re: KMail plugin

[email protected] Thu, 24 Apr 2008 16:41:27 +0300 (EEST)
Newsgroups gmane.comp.kde.devel.kmail
Message-ID <[email protected]>

> KMail currently does not support plugins except for bodypartformatter
> plugins. The bodypartformatter interface can be found in
>   KDEDIR/include/kmail/interfaces/bodypartformatter.h
> For the API documentation have a look at [1] and [2].
>
> Examples of bodypartformatter plugins can be found in
> trunk/KDE/kdepim/plugins/kmail/bodypartformatter in svn.
>
> I'm not aware of any other bodypartformatter plugins except for those in
> kdepim/plugins/kmail/bodypartformatter.
>
>
> Regards,
> Ingo

One more question,
I know Kmail has  S/MIME support, but with the plugin, I want to generate
an S/MIME message using my own algorithms.
Do you think I can do it with this interface?

Regards,


> Send KMail-devel mailing list submissions to
> 	[email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mail.kde.org/mailman/listinfo/kmail-devel
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
>
> You can reach the person managing the list at
> 	[email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of KMail-devel digest..."
>
>
> Today's Topics:
>
>    1. Editor: Right-clicking selects word (alessandro diaferia)
>    2. Re: Editor: Right-clicking selects word (Thomas McGuire)
>    3. Re: Editor: Right-clicking selects word (alessandro diaferia)
>    4. Re: plugin for kmail (Ingo Kl?cker)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 23 Apr 2008 14:54:35 +0200
> From: "alessandro diaferia" <[email protected]>
> Subject: Editor: Right-clicking selects word
> To: [email protected]
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi everybody!
> Here:
> http://techbase.kde.org/index.php?title=Projects/PIM/KDE_4-related_bugs#KMail
> "Right-clicking selects word" is signaled as bug. I found that this
> behavior is explicitly coded in kmeditor.cpp and so it's not a bug.
> What to do?
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 23 Apr 2008 17:24:50 +0200
> From: Thomas McGuire <[email protected]>
> Subject: Re: Editor: Right-clicking selects word
> To: KMail development <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> On Wednesday 23 April 2008 14:54:35 alessandro diaferia wrote:
>> Here:
>> http://techbase.kde.org/index.php?title=Projects/PIM/KDE_4-related_bugs#KMa
>>il "Right-clicking selects word" is signaled as bug. I found that this
>> behavior is explicitly coded in kmeditor.cpp and so it's not a bug.
> Yes, it is indeed explicitly coded. It is still a bug though, all other
> text
> edits in KDE don't have this behavior. Moreover, I found it annoying, for
> example I can't right-click a misspelled word if another word is selected.
>
>> What to do?
> Send us a patch which fixes the problem :)
> Bonus points for adding "Add to dictionary" and "Ignore" actions to the
> context menu of misspelled words.
>
> Regards,
> Thomas
>
> P.S.: Please don't cross-post to more than one list
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 194 bytes
> Desc: This is a digitally signed message part.
> Url :
> http://mail.kde.org/pipermail/kmail-devel/attachments/20080423/84ec8f5a/attachment.pgp
>
> ------------------------------
>
> Message: 3
> Date: Wed, 23 Apr 2008 18:04:13 +0200
> From: "alessandro diaferia" <[email protected]>
> Subject: Re: Editor: Right-clicking selects word
> To: "KMail development" <[email protected]>
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Thomas.. Thanks for your reply :D
> I'd ask you something. I noticed that kmeditor selects and then
> spellchecks word only if no other words are selected. I'd suggest to
> make kmeditor spellcheck always with no selecting words which is, as
> you said, annoying :D
> Wait for your reply again..
>
> 2008/4/23, Thomas McGuire <[email protected]>:
>> Hi,
>>
>>
>>  On Wednesday 23 April 2008 14:54:35 alessandro diaferia wrote:
>>  > Here:
>>  > http://techbase.kde.org/index.php?title=Projects/PIM/KDE_4-related_bugs#KMa
>>
>> >il "Right-clicking selects word" is signaled as bug. I found that this
>>
>> > behavior is explicitly coded in kmeditor.cpp and so it's not a bug.
>>
>> Yes, it is indeed explicitly coded. It is still a bug though, all other
>> text
>>  edits in KDE don't have this behavior. Moreover, I found it annoying,
>> for
>>  example I can't right-click a misspelled word if another word is
>> selected.
>>
>>  > What to do?
>>  Send us a patch which fixes the problem :)
>>  Bonus points for adding "Add to dictionary" and "Ignore" actions to the
>>  context menu of misspelled words.
>>
>>  Regards,
>>
>> Thomas
>>
>>
>>  P.S.: Please don't cross-post to more than one list
>>
>>
>>
>> _______________________________________________
>>  KMail developers mailing list
>>  [email protected]
>>  https://mail.kde.org/mailman/listinfo/kmail-devel
>>
>>
>>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 23 Apr 2008 23:13:09 +0200
> From: Ingo Kl?cker <[email protected]>
> Subject: Re: plugin for kmail
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Tuesday 22 April 2008, [email protected] wrote:
>> Hi,
>> I want to develop a plugin for kmail but I don't know where I can
>> start. It would be so good to me getting an advice to save my time.
>
> KMail currently does not support plugins except for bodypartformatter
> plugins. The bodypartformatter interface can be found in
>   KDEDIR/include/kmail/interfaces/bodypartformatter.h
> For the API documentation have a look at [1] and [2].
>
> Examples of bodypartformatter plugins can be found in
> trunk/KDE/kdepim/plugins/kmail/bodypartformatter in svn.
>
> I'm not aware of any other bodypartformatter plugins except for those in
> kdepim/plugins/kmail/bodypartformatter.
>
>
> Regards,
> Ingo
>
> [1]
> http://api.kde.org/4.x-api/kdepim-apidocs/kmail/html/classKMail_1_1Interface_1_1BodyPartFormatterPlugin.html
> [2]
> http://api.kde.org/4.x-api/kdepim-apidocs/kmail/html/classKMail_1_1Interface_1_1BodyPartFormatter.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 194 bytes
> Desc: This is a digitally signed message part.
> Url :
> http://mail.kde.org/pipermail/kmail-devel/attachments/20080423/91c2e130/attachment.pgp
>
> ------------------------------
>
> _______________________________________________
> KMail developers mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/kmail-devel
>
>
> End of KMail-devel Digest, Vol 53, Issue 4
> ******************************************
>