14#include <qwindowdefs.h>
16#include <kwallet_export.h>
33#define KSS_ATTR_ENTRYFOLDER "kwallet.folderName"
34#define KSS_ATTR_WALLETTYPE "kwallet.type"
90 static bool isEnabled();
97 static bool isOpen(
const QString &name);
108 static int closeWallet(
const QString &name,
bool force);
116 static int deleteWallet(
const QString &name);
124 static bool disconnectApplication(
const QString &wallet,
const QString &app);
130 OpenTypeUnused = 0xff,
153 static Wallet *openWallet(
const QString &name, WId w, OpenType ot = Synchronous);
166 static const QString LocalWallet();
171 static const QString NetworkWallet();
179 static const QString PasswordFolder();
187 static const QString FormDataFolder();
197 static void changePassword(
const QString &name, WId w);
212 virtual int lockWallet();
217 virtual const QString &walletName()
const;
224 virtual bool isOpen()
const;
233 virtual void requestChangePassword(WId w);
246 virtual bool hasFolder(
const QString &f);
255 virtual bool setFolder(
const QString &f);
262 virtual bool removeFolder(
const QString &f);
269 virtual bool createFolder(
const QString &f);
277 virtual const QString ¤tFolder()
const;
295 virtual int renameEntry(
const QString &oldName,
const QString &newName);
380 virtual int writeEntry(
const QString &key,
const QByteArray &value, EntryType entryType);
405 virtual int writePassword(
const QString &key,
const QString &value);
412 virtual bool hasEntry(
const QString &key);
419 virtual int removeEntry(
const QString &key);
427 virtual EntryType entryType(
const QString &key);
439 static bool folderDoesNotExist(
const QString &wallet,
const QString &folder);
495 KWALLET_NO_EXPORT
void slotWalletClosed(
int handle);
501 KWALLET_NO_EXPORT
void slotFolderUpdated(
const QString &wallet,
const QString &folder);
507 KWALLET_NO_EXPORT
void slotFolderListUpdated(
const QString &wallet);
513 KWALLET_NO_EXPORT
void slotApplicationDisconnected(
const QString &wallet,
const QString &application);
521 KWALLET_NO_EXPORT
void walletAsyncOpened(
int tId,
int handle);
527 KWALLET_NO_EXPORT
void emitWalletAsyncOpenError();
533 KWALLET_NO_EXPORT
void emitWalletOpened();
539 KWALLET_NO_EXPORT
void slotCollectionStatusChanged(
int);
544 KWALLET_NO_EXPORT
void slotCollectionDeleted();
548 WalletPrivate *
const d;
549 Q_PRIVATE_SLOT(d,
void walletServiceUnregistered())
555 virtual
void virtual_hook(
int id,
void *data);
static bool isUsingKSecretsService()
Determine if the KWallet API is using the KSecretsService infrastructure This can ben changed in syst...
void folderUpdated(const QString &folder)
Emitted when a folder in this wallet is updated.
void walletClosed()
Emitted when this wallet is closed.
void folderListUpdated()
Emitted when the folder list is changed in this wallet.
Wallet(const Wallet &)
Copy a KWallet object.
void folderRemoved(const QString &folder)
Emitted when a folder in this wallet is removed.
void walletOpened(bool success)
Emitted when a wallet is opened in asynchronous mode.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:12:12 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.