File indexing completed on 2024-06-09 11:54:19

0001 /*
0002  * This file was generated by qdbusxml2cpp version 0.8
0003  * Command line was:
0004  *
0005  * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
0006  *
0007  * This is an auto-generated file.
0008  * This file may have been hand-edited. Look for HAND-EDIT comments
0009  * before re-generating it.
0010  */
0011 
0012 #ifndef SECRETAGENTADAPTOR_H
0013 #define SECRETAGENTADAPTOR_H
0014 
0015 #include "secretagent.h"
0016 
0017 #include <QDBusAbstractAdaptor>
0018 #include <QDBusObjectPath>
0019 #include <QObject>
0020 #include <QStringList>
0021 
0022 QT_BEGIN_NAMESPACE
0023 class QByteArray;
0024 template<class T>
0025 class QList;
0026 template<class Key, class Value>
0027 class QMap;
0028 class QString;
0029 class QVariant;
0030 QT_END_NAMESPACE
0031 
0032 /*
0033  * Adaptor class for interface org.freedesktop.NetworkManager.SecretAgent
0034  */
0035 class SecretAgentAdaptor : public QDBusAbstractAdaptor
0036 {
0037     Q_OBJECT
0038     Q_CLASSINFO("D-Bus Interface", "org.freedesktop.NetworkManager.SecretAgent")
0039     Q_CLASSINFO("D-Bus Introspection",
0040                 ""
0041                 "  <interface name=\"org.freedesktop.NetworkManager.SecretAgent\">\n"
0042                 "    <method name=\"GetSecrets\">\n"
0043                 "      <annotation value=\"impl_secret_agent_get_secrets\" name=\"org.freedesktop.DBus.GLib.CSymbol\"/>\n"
0044                 "      <annotation value=\"\" name=\"org.freedesktop.DBus.GLib.Async\"/>\n"
0045                 "      <annotation value=\"NMVariantMapMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
0046                 "      <arg direction=\"in\" type=\"a{sa{sv}}\" name=\"connection\"/>\n"
0047                 "      <arg direction=\"in\" type=\"o\" name=\"connection_path\"/>\n"
0048                 "      <arg direction=\"in\" type=\"s\" name=\"setting_name\"/>\n"
0049                 "      <arg direction=\"in\" type=\"as\" name=\"hints\"/>\n"
0050                 "      <arg direction=\"in\" type=\"u\" name=\"flags\"/>\n"
0051                 "      <annotation value=\"NMVariantMapMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out0\"/>\n"
0052                 "      <arg direction=\"out\" type=\"a{sa{sv}}\" name=\"secrets\"/>\n"
0053                 "    </method>\n"
0054                 "    <method name=\"CancelGetSecrets\">\n"
0055                 "      <annotation value=\"impl_secret_agent_cancel_get_secrets\" name=\"org.freedesktop.DBus.GLib.CSymbol\"/>\n"
0056                 "      <annotation value=\"\" name=\"org.freedesktop.DBus.GLib.Async\"/>\n"
0057                 "      <arg direction=\"in\" type=\"o\" name=\"connection_path\"/>\n"
0058                 "      <arg direction=\"in\" type=\"s\" name=\"setting_name\"/>\n"
0059                 "    </method>\n"
0060                 "    <method name=\"SaveSecrets\">\n"
0061                 "      <annotation value=\"impl_secret_agent_save_secrets\" name=\"org.freedesktop.DBus.GLib.CSymbol\"/>\n"
0062                 "      <annotation value=\"\" name=\"org.freedesktop.DBus.GLib.Async\"/>\n"
0063                 "      <annotation value=\"NMVariantMapMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
0064                 "      <arg direction=\"in\" type=\"a{sa{sv}}\" name=\"connection\"/>\n"
0065                 "      <arg direction=\"in\" type=\"o\" name=\"connection_path\"/>\n"
0066                 "    </method>\n"
0067                 "    <method name=\"DeleteSecrets\">\n"
0068                 "      <annotation value=\"impl_secret_agent_delete_secrets\" name=\"org.freedesktop.DBus.GLib.CSymbol\"/>\n"
0069                 "      <annotation value=\"\" name=\"org.freedesktop.DBus.GLib.Async\"/>\n"
0070                 "      <annotation value=\"NMVariantMapMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
0071                 "      <arg direction=\"in\" type=\"a{sa{sv}}\" name=\"connection\"/>\n"
0072                 "      <arg direction=\"in\" type=\"o\" name=\"connection_path\"/>\n"
0073                 "    </method>\n"
0074                 "  </interface>\n"
0075                 "")
0076 public:
0077     SecretAgentAdaptor(NetworkManager::SecretAgent *parent);
0078     ~SecretAgentAdaptor() override;
0079 
0080     inline NetworkManager::SecretAgent *parent() const
0081     {
0082         return static_cast<NetworkManager::SecretAgent *>(QObject::parent());
0083     }
0084 
0085 public: // PROPERTIES
0086 public Q_SLOTS: // METHODS
0087     void CancelGetSecrets(const QDBusObjectPath &connection_path, const QString &setting_name);
0088     void DeleteSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path);
0089     NMVariantMapMap
0090     GetSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path, const QString &setting_name, const QStringList &hints, uint flags);
0091     void SaveSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path);
0092 Q_SIGNALS: // SIGNALS
0093 };
0094 
0095 #endif