KWallet
kwallet_mac.cpp
82 SecKeychainFindGenericPassword(NULL, serviceName.size(), serviceName.constData(), accountName.size(), accountName.constData(), NULL, NULL, &itemRef);
345 QDBusReply<QStringList> r = walletLauncher->getInterface().entryList(d->handle, d->folder, appid());
470 QDBusReply<QVariantMap> r = walletLauncher->getInterface().readEntryList(d->handle, d->folder, key, appid());
495 QDBusReply<int> r = walletLauncher->getInterface().renameEntry(d->handle, d->folder, oldName, newName, appid());
531 QDBusReply<QVariantMap> r = walletLauncher->getInterface().readMapList(d->handle, d->folder, key, appid());
567 static OSStatus writeEntryImplementation(const QString &walletName, const QString &key, const QByteArray &value)
624 SecKeychainFindGenericPassword(NULL, serviceName.size(), serviceName.constData(), accountName.size(), accountName.constData(), NULL, NULL, NULL),
642 QDBusReply<int> r = walletLauncher->getInterface().entryType(d->handle, d->folder, key, appid());
static Wallet * openWallet(const QString &name, WId w, OpenType ot=Synchronous)
Open the wallet name.
Definition: kwallet.cpp:468
void walletOpened(bool success)
Emitted when a wallet is opened in asynchronous mode.
virtual int readMap(const QString &key, QMap< QString, QString > &value)
Read the map entry key from the current folder.
Definition: kwallet.cpp:1197
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
ReadOnly
QString fromUtf8(const char *str, int size)
virtual bool removeFolder(const QString &f)
Remove the folder f and all its entries from the wallet.
Definition: kwallet.cpp:926
Q_EMITQ_EMIT
virtual bool hasEntry(const QString &key)
Determine if the current folder has they entry key.
Definition: kwallet.cpp:1558
int readPasswordList(const QString &key, QMap< QString, QString > &value)
Read the password entry key from the current folder.
Definition: kwallet.cpp:1385
bool isValid() const const
void ref()
virtual QStringList entryList()
Return the list of keys of all entries in this folder.
Definition: kwallet.cpp:794
virtual EntryType entryType(const QString &key)
Determine the type of the entry key in this folder.
Definition: kwallet.cpp:1613
virtual const QString & walletName() const
The name of the current wallet.
Definition: kwallet.cpp:684
void folderUpdated(const QString &folder)
Emitted when a folder in this wallet is updated.
static const QString PasswordFolder()
The standardized name of the password folder.
Definition: kwallet.cpp:113
virtual int readPassword(const QString &key, QString &value)
Read the password entry key from the current folder.
Definition: kwallet.cpp:1339
int readEntryList(const QString &key, QMap< QString, QByteArray > &value)
Read the entries matching key from the current folder.
Definition: kwallet.cpp:1085
static void changePassword(const QString &name, WId w)
Request to the wallet service to change the password of the wallet name.
Definition: kwallet.cpp:344
QMap::iterator insert(const Key &key, const T &value)
virtual int readEntry(const QString &key, QByteArray &value)
Read the entry key from the current folder.
Definition: kwallet.cpp:1037
virtual int removeEntry(const QString &key)
Remove the entry key from the current folder.
Definition: kwallet.cpp:1582
virtual int writePassword(const QString &key, const QString &value)
Write key = value as a password to the current folder.
Definition: kwallet.cpp:1534
static bool disconnectApplication(const QString &wallet, const QString &app)
Disconnect the application app from wallet.
Definition: kwallet.cpp:583
bool isEmpty() const const
virtual QStringList folderList()
Obtain the list of all folders contained in the wallet.
Definition: kwallet.cpp:748
QByteArray toUtf8() const const
QueuedConnection
static QStringList users(const QString &wallet)
List the applications that are using the wallet wallet.
Definition: kwallet.cpp:608
static int closeWallet(const QString &name, bool force)
Close the wallet name.
Definition: kwallet.cpp:414
virtual bool hasFolder(const QString &f)
Determine if the folder f exists in the wallet.
Definition: kwallet.cpp:834
bool isEmpty() const const
static const QString LocalWallet()
The name of the wallet used to store local passwords.
Definition: kwallet.cpp:82
virtual int writeEntry(const QString &key, const QByteArray &value, EntryType entryType)
Write key = value as a binary entry to the current folder.
Definition: kwallet.cpp:1457
virtual bool isOpen() const
Determine if the current wallet is open, and is a valid wallet handle.
Definition: kwallet.cpp:689
int readMapList(const QString &key, QMap< QString, QMap< QString, QString >> &value)
Read the map entry key from the current folder.
Definition: kwallet.cpp:1254
const char * constData() const const
QString fromLatin1(const char *str, int size)
QString name(StandardShortcut id)
bool invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9)
virtual bool setFolder(const QString &f)
Set the current working folder to f.
Definition: kwallet.cpp:892
static const QString FormDataFolder()
The standardized name of the form data folder.
Definition: kwallet.cpp:118
int size() const const
virtual void requestChangePassword(WId w)
Request to the wallet service to change the password of the current wallet.
Definition: kwallet.cpp:702
static bool folderDoesNotExist(const QString &wallet, const QString &folder)
Determine if a folder does not exist in a wallet.
Definition: kwallet.cpp:1741
virtual int writeMap(const QString &key, const QMap< QString, QString > &value)
Write key = value as a map to the current folder.
Definition: kwallet.cpp:1505
virtual int sync()
This syncs the wallet file on disk with what is in memory.
Definition: kwallet.cpp:632
void folderListUpdated()
Emitted when the folder list is changed in this wallet.
static const QString NetworkWallet()
The name of the wallet used to store network passwords.
Definition: kwallet.cpp:101
virtual const QString & currentFolder() const
Determine the current working folder in the wallet.
Definition: kwallet.cpp:974
virtual int renameEntry(const QString &oldName, const QString &newName)
Rename the entry oldName to newName.
Definition: kwallet.cpp:1160
QDBusReply::Type value() const const
static bool keyDoesNotExist(const QString &wallet, const QString &folder, const QString &key)
Determine if an entry in a folder does not exist in a wallet.
Definition: kwallet.cpp:1770
virtual void virtual_hook(int id, void *data)
Definition: kwallet.cpp:1798
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:18:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:18:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.