On 08/24/2011 09:30 PM, 4ernov wrote:
>>> Sorry for unclear text, yes, I meant KWallet API, you're right. Here's
>>> those method itself:
>>>
>>> bool MicroBlog::enterWalletFolder(const QString &folder)
>>> {
>>>     //TODO: seems a bit silly to have a function just for this here
>>>     //why doesn't kwallet have this itself?
>> What's this TODO exactly meaning? Check for setFolder? I don't get it :-)
> I actually don't know) It's not my code, I just wanted to fix it, so
> it's "as is" :-)
Ok, NP.

>>
>> Use KWallet::isEnabled() as it calls the daemon to check for that and it
>> eventually starts the daemon if it's not already started.
>> But you must have the Wallet system enabled system-wide, in System
>> Settings, for this to happen.
> Thank you for advice. And should I wait for it to return true or it
> returns true after the daemon is started?
It's a synchronous call, so when you get the "true" result, the daemon
is already running.

-- 
Valentin Rusu (IRC valir, KDE vrusu)
KSecretsService (former KSecretService, KWallet replacement)


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to