/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp -m -p kwallet_interface /var/tmp/portage/dev-libs/qtkeychain-0.14.1-r1/work/qtkeychain-0.14.1/org.kde.KWallet.xml * * qdbusxml2cpp is Copyright (C) 2023 The Qt Company Ltd and other contributors. * * This is an auto-generated file. * Do not edit! All changes made to it will be lost. */ #ifndef KWALLET_INTERFACE_H #define KWALLET_INTERFACE_H #include #include #include #include #include #include #include #include /* * Proxy class for interface org.kde.KWallet */ class OrgKdeKWalletInterface: public QDBusAbstractInterface { Q_OBJECT public: static inline const char *staticInterfaceName() { return "org.kde.KWallet"; } public: OrgKdeKWalletInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); ~OrgKdeKWalletInterface(); public Q_SLOTS: // METHODS inline QDBusPendingReply<> changePassword(const QString &wallet, qlonglong wId, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(wallet) << QVariant::fromValue(wId) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("changePassword"), argumentList); } inline QDBusPendingReply close(int handle, bool force, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(force) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("close"), argumentList); } inline QDBusPendingReply close(const QString &wallet, bool force) { QList argumentList; argumentList << QVariant::fromValue(wallet) << QVariant::fromValue(force); return asyncCallWithArgumentList(QStringLiteral("close"), argumentList); } inline QDBusPendingReply<> closeAllWallets() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("closeAllWallets"), argumentList); } inline QDBusPendingReply createFolder(int handle, const QString &folder, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("createFolder"), argumentList); } inline QDBusPendingReply deleteWallet(const QString &wallet) { QList argumentList; argumentList << QVariant::fromValue(wallet); return asyncCallWithArgumentList(QStringLiteral("deleteWallet"), argumentList); } inline QDBusPendingReply disconnectApplication(const QString &wallet, const QString &application) { QList argumentList; argumentList << QVariant::fromValue(wallet) << QVariant::fromValue(application); return asyncCallWithArgumentList(QStringLiteral("disconnectApplication"), argumentList); } inline QDBusPendingReply entryList(int handle, const QString &folder, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("entryList"), argumentList); } inline QDBusPendingReply entryType(int handle, const QString &folder, const QString &key, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("entryType"), argumentList); } inline QDBusPendingReply folderDoesNotExist(const QString &wallet, const QString &folder) { QList argumentList; argumentList << QVariant::fromValue(wallet) << QVariant::fromValue(folder); return asyncCallWithArgumentList(QStringLiteral("folderDoesNotExist"), argumentList); } inline QDBusPendingReply folderList(int handle, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("folderList"), argumentList); } inline QDBusPendingReply hasEntry(int handle, const QString &folder, const QString &key, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("hasEntry"), argumentList); } inline QDBusPendingReply hasFolder(int handle, const QString &folder, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("hasFolder"), argumentList); } inline QDBusPendingReply isEnabled() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("isEnabled"), argumentList); } inline QDBusPendingReply isOpen(int handle) { QList argumentList; argumentList << QVariant::fromValue(handle); return asyncCallWithArgumentList(QStringLiteral("isOpen"), argumentList); } inline QDBusPendingReply isOpen(const QString &wallet) { QList argumentList; argumentList << QVariant::fromValue(wallet); return asyncCallWithArgumentList(QStringLiteral("isOpen"), argumentList); } inline QDBusPendingReply keyDoesNotExist(const QString &wallet, const QString &folder, const QString &key) { QList argumentList; argumentList << QVariant::fromValue(wallet) << QVariant::fromValue(folder) << QVariant::fromValue(key); return asyncCallWithArgumentList(QStringLiteral("keyDoesNotExist"), argumentList); } inline QDBusPendingReply localWallet() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("localWallet"), argumentList); } inline QDBusPendingReply networkWallet() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("networkWallet"), argumentList); } inline QDBusPendingReply open(const QString &wallet, qlonglong wId, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(wallet) << QVariant::fromValue(wId) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("open"), argumentList); } inline QDBusPendingReply openAsync(const QString &wallet, qlonglong wId, const QString &appid, bool handleSession) { QList argumentList; argumentList << QVariant::fromValue(wallet) << QVariant::fromValue(wId) << QVariant::fromValue(appid) << QVariant::fromValue(handleSession); return asyncCallWithArgumentList(QStringLiteral("openAsync"), argumentList); } inline QDBusPendingReply openPath(const QString &path, qlonglong wId, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(path) << QVariant::fromValue(wId) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("openPath"), argumentList); } inline QDBusPendingReply openPathAsync(const QString &path, qlonglong wId, const QString &appid, bool handleSession) { QList argumentList; argumentList << QVariant::fromValue(path) << QVariant::fromValue(wId) << QVariant::fromValue(appid) << QVariant::fromValue(handleSession); return asyncCallWithArgumentList(QStringLiteral("openPathAsync"), argumentList); } Q_NOREPLY inline void pamOpen(const QString &wallet, const QByteArray &passwordHash, int sessionTimeout) { QList argumentList; argumentList << QVariant::fromValue(wallet) << QVariant::fromValue(passwordHash) << QVariant::fromValue(sessionTimeout); callWithArgumentList(QDBus::NoBlock, QStringLiteral("pamOpen"), argumentList); } inline QDBusPendingReply readEntry(int handle, const QString &folder, const QString &key, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("readEntry"), argumentList); } inline QDBusPendingReply readEntryList(int handle, const QString &folder, const QString &key, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("readEntryList"), argumentList); } inline QDBusPendingReply readMap(int handle, const QString &folder, const QString &key, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("readMap"), argumentList); } inline QDBusPendingReply readMapList(int handle, const QString &folder, const QString &key, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("readMapList"), argumentList); } inline QDBusPendingReply readPassword(int handle, const QString &folder, const QString &key, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("readPassword"), argumentList); } inline QDBusPendingReply readPasswordList(int handle, const QString &folder, const QString &key, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("readPasswordList"), argumentList); } inline QDBusPendingReply<> reconfigure() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("reconfigure"), argumentList); } inline QDBusPendingReply removeEntry(int handle, const QString &folder, const QString &key, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("removeEntry"), argumentList); } inline QDBusPendingReply removeFolder(int handle, const QString &folder, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("removeFolder"), argumentList); } inline QDBusPendingReply renameEntry(int handle, const QString &folder, const QString &oldName, const QString &newName, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(oldName) << QVariant::fromValue(newName) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("renameEntry"), argumentList); } Q_NOREPLY inline void sync(int handle, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(appid); callWithArgumentList(QDBus::NoBlock, QStringLiteral("sync"), argumentList); } inline QDBusPendingReply users(const QString &wallet) { QList argumentList; argumentList << QVariant::fromValue(wallet); return asyncCallWithArgumentList(QStringLiteral("users"), argumentList); } inline QDBusPendingReply wallets() { QList argumentList; return asyncCallWithArgumentList(QStringLiteral("wallets"), argumentList); } inline QDBusPendingReply writeEntry(int handle, const QString &folder, const QString &key, const QByteArray &value, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(value) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("writeEntry"), argumentList); } inline QDBusPendingReply writeEntry(int handle, const QString &folder, const QString &key, const QByteArray &value, int entryType, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(value) << QVariant::fromValue(entryType) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("writeEntry"), argumentList); } inline QDBusPendingReply writeMap(int handle, const QString &folder, const QString &key, const QByteArray &value, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(value) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("writeMap"), argumentList); } inline QDBusPendingReply writePassword(int handle, const QString &folder, const QString &key, const QString &value, const QString &appid) { QList argumentList; argumentList << QVariant::fromValue(handle) << QVariant::fromValue(folder) << QVariant::fromValue(key) << QVariant::fromValue(value) << QVariant::fromValue(appid); return asyncCallWithArgumentList(QStringLiteral("writePassword"), argumentList); } Q_SIGNALS: // SIGNALS void allWalletsClosed(); void applicationDisconnected(const QString &wallet, const QString &application); void folderListUpdated(const QString &wallet); void folderUpdated(const QString &in0, const QString &in1); void walletAsyncOpened(int tId, int handle); void walletClosed(int handle); void walletClosed(const QString &wallet); void walletCreated(const QString &wallet); void walletDeleted(const QString &wallet); void walletListDirty(); void walletOpened(const QString &wallet); }; namespace org { namespace kde { using KWallet = ::OrgKdeKWalletInterface; } } #endif