KWallet
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);
488 KWALLET_NO_EXPORT
void slotWalletClosed(
int handle);
494 KWALLET_NO_EXPORT
void slotFolderUpdated(
const QString &wallet,
const QString &folder);
500 KWALLET_NO_EXPORT
void slotFolderListUpdated(
const QString &wallet);
506 KWALLET_NO_EXPORT
void slotApplicationDisconnected(
const QString &wallet,
const QString &application);
514 KWALLET_NO_EXPORT
void walletAsyncOpened(
int tId,
int handle);
520 KWALLET_NO_EXPORT
void emitWalletAsyncOpenError();
526 KWALLET_NO_EXPORT
void emitWalletOpened();
532 KWALLET_NO_EXPORT
void slotCollectionStatusChanged(
int);
537 KWALLET_NO_EXPORT
void slotCollectionDeleted();
541 WalletPrivate *
const d;
542 Q_PRIVATE_SLOT(d,
void walletServiceUnregistered())
Wallet(int handle, const QString &name)
Construct a KWallet object.
virtual void virtual_hook(int id, void *data)
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:58 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.