KDEUI
Go to the documentation of this file.
25 #include <QtCore/QStringList>
26 #include <QtCore/QObject>
27 #include <QtGui/qwindowdefs.h>
46 #define KSS_ATTR_ENTRYFOLDER "kwallet.folderName"
47 #define KSS_ATTR_WALLETTYPE "kwallet.type"
99 static bool isEnabled();
106 static bool isOpen(
const QString& name);
117 static int closeWallet(
const QString& name,
bool force);
125 static int deleteWallet(
const QString& name);
133 static bool disconnectApplication(
const QString& wallet,
const QString& app);
135 enum OpenType { Synchronous=0, Asynchronous, Path, OpenTypeUnused=0xff };
155 static Wallet* openWallet(
const QString& name, WId w, OpenType ot = Synchronous);
168 static const QString LocalWallet();
173 static const QString NetworkWallet();
181 static const QString PasswordFolder();
189 static const QString FormDataFolder();
199 static void changePassword(
const QString& name, WId w);
214 virtual int lockWallet();
219 virtual const QString& walletName()
const;
226 virtual bool isOpen()
const;
235 virtual void requestChangePassword(WId w);
248 virtual bool hasFolder(
const QString& f);
257 virtual bool setFolder(
const QString& f);
264 virtual bool removeFolder(
const QString& f);
271 virtual bool createFolder(
const QString& f);
279 virtual const QString& currentFolder()
const;
294 virtual int renameEntry(
const QString& oldName,
const QString& newName);
374 virtual int writeEntry(
const QString& key,
const QByteArray& value, EntryType entryType);
399 virtual int writePassword(
const QString& key,
const QString& value);
406 virtual bool hasEntry(
const QString& key);
413 virtual int removeEntry(
const QString& key);
421 virtual EntryType entryType(
const QString& key);
433 static bool folderDoesNotExist(
const QString& wallet,
const QString& folder);
446 static bool keyDoesNotExist(
const QString& wallet,
const QString& folder,
454 static bool isUsingKSecretsService();
466 void folderUpdated(
const QString& folder);
471 void folderListUpdated();
477 void folderRemoved(
const QString& folder);
483 void walletOpened(
bool success);
490 void slotWalletClosed(
int handle);
496 void slotFolderUpdated(
const QString& wallet,
const QString& folder);
502 void slotFolderListUpdated(
const QString& wallet);
508 void slotApplicationDisconnected(
const QString& wallet,
const QString& application);
516 void walletAsyncOpened(
int tId,
int handle);
522 void emitWalletAsyncOpenError();
528 void emitWalletOpened();
534 void slotCollectionStatusChanged(
int );
539 void slotCollectionDeleted();
543 WalletPrivate*
const d;
544 Q_PRIVATE_SLOT(d,
void walletServiceUnregistered())
550 virtual
void virtual_hook(
int id,
void *data);
KAutostart::StartPhase readEntry(const KConfigGroup &group, const char *key, const KAutostart::StartPhase &aDefault)
const char * name(StandardAction id)
This will return the internal name of a given standard action.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.