[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:       Martijn Klingens <klingens () kde ! org>
Date:       2005-03-24 12:00:39
Message-ID: 200503241300.39534.klingens () kde ! org
[Download RAW message or body]

On Thursday 24 March 2005 12:17, Suryanarayanan Rajaram wrote:
> 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.

You can use the DCOP command line tool if you want:

martijn@qwerty:~> dcop kded kwalletd networkWallet
kdewallet
martijn@qwerty:~> dcop kded kwalletd open kdewallet 0
1702756277
martijn@qwerty:~> dcop kded kwalletd folderList 1702756277
Form Data
Kopete
Passwords
martijn@qwerty:~> dcop kded kwalletd entryList 1702756277 Kopete
Account_JabberProtocol_xxxxxxxx@xxxxxxxxx.xxxx

Or 'dcop kded kwalletd' for a list of all other methods, they are AFAIK 
identical as the ones in the KDE API, so you can refer to the API docs.

Hope this helps,

-- 
Martijn
[prev in list] [next in list] [prev in thread] [next in thread] 

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