[Kde-pim] pgp-auto-sign in kmail composer

Ingo Klöcker kloecker at kde.org
Sat Aug 1 13:34:57 BST 2009


On Saturday 01 August 2009, Martin Koller wrote:
> On Saturday 01 August 2009, Martin Koller wrote:
> > Hi,
> >
> > I'm trying to check the bug
> > https://bugs.kde.org/show_bug.cgi?id=51410 dealing with signing.
> >
> > Can someone tell me, where in the kmail code the setting for
> > pgp-auto-sign is actually _used_ ? I can't find it. I only find
> > ./configuredialog.cpp where it is shown and read/written to the
> > config file.
>
> ok, found it. This is used in kconfig_compiler generated code, and
> therefore not grep-able in the sources but in the build-dir  ... :-(

You can easily deduce the strings you have to grep for from 
kmail.kcfg.cmake:

      <entry name="PgpAutoSign" type="Bool" key="pgp-auto-sign">

-> the name of the getter will be pgpAutoSign(). Grepping 
for "pgpAutoSign" yields:

kmcomposewin.cpp:1268:  mLastSignActionState = 
GlobalSettings::self()->pgpAutoSign();
kmcomposewin.cpp:1291:    setSigning( ( canOpenPGPSign || canSMIMESign ) 
&& GlobalSettings::self()->pgpAutoSign() );


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090801/4cb43dce/attachment.sig>
-------------- next part --------------
_______________________________________________
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