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

List:       kde-core-devel
Subject:    Re: How a non-KDE application access Kwallet
From:       Patrick Trettenbrein <patrick.trettenbrein () gmx ! net>
Date:       2005-03-24 10:49:39
Message-ID: 200503241149.51567.patrick.trettenbrein () gmx ! net
[Download RAW message or body]


Am Donnerstag, 24. März 2005 10:53 schrieb Suryanarayanan Rajaram:
> Hi,
>
> I am trying to write an application which reads and writes secrets in
> kwallet.
>
> From the details I got through the web , I understand that we can do
> this by either of the following ways.
>
> 1. Talk to the client APIs provided by the Kwallet::Wallet class
> 2. Use the DCOP interface provided by the kwallet service.
>
> For using method 2, my application needs to register as DCOP client and
> communicate to the kwallet service via DCOP.
> I tried using seemingly easier method 1 . But I see that my application
> needs to be a KDE application to talk to Kwallet::Wallet APIs. i.e I had
> to use QObject related stuff and KApplication in my code. Otherwise I
> get some segmentation fault while trying to open a wallet.
>
> I would like to know if there is any way to write a simple application
> which doesnt need KApplication or QObject related things ( non-KDE ) and
> still can access kwallets.
> It would be helpful if anybody could provide me the details for this and
> any related links.
>
> Thanks in Advance,
> Rajaram.

I don't know how to do..., but I know that it must be possible, because Skype 
(www.skype.com) as a non KDE application is able to use KWallet.

Patrick
-- 
Patrick Trettenbrein - patrick.trettenbrein@kdemail.net
GnuPG fingerprint: 312B 561F B0E9 1DB5 CE5B A9CB 831A 1994 E9A3 0010

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

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

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