File indexing completed on 2024-06-23 10:42:27

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  * Do not edit! All changes made to it will be lost.
0009  */
0010 
0011 #include "secretagentadaptor.h"
0012 #include <QString>
0013 
0014 /*
0015  * Implementation of adaptor class SecretAgentAdaptor
0016  */
0017 
0018 SecretAgentAdaptor::SecretAgentAdaptor(NetworkManager::SecretAgent *parent)
0019     : QDBusAbstractAdaptor(parent)
0020 {
0021     // constructor
0022     setAutoRelaySignals(true);
0023 }
0024 
0025 SecretAgentAdaptor::~SecretAgentAdaptor()
0026 {
0027     // destructor
0028 }
0029 
0030 void SecretAgentAdaptor::CancelGetSecrets(const QDBusObjectPath &connection_path, const QString &setting_name)
0031 {
0032     // handle method call org.freedesktop.NetworkManager.SecretAgent.CancelGetSecrets
0033     parent()->CancelGetSecrets(connection_path, setting_name);
0034 }
0035 
0036 void SecretAgentAdaptor::DeleteSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path)
0037 {
0038     // handle method call org.freedesktop.NetworkManager.SecretAgent.DeleteSecrets
0039     parent()->DeleteSecrets(connection, connection_path);
0040 }
0041 
0042 NMVariantMapMap SecretAgentAdaptor::GetSecrets(NMVariantMapMap connection,
0043                                                const QDBusObjectPath &connection_path,
0044                                                const QString &setting_name,
0045                                                const QStringList &hints,
0046                                                uint flags)
0047 {
0048     // handle method call org.freedesktop.NetworkManager.SecretAgent.GetSecrets
0049     return parent()->GetSecrets(connection, connection_path, setting_name, hints, flags);
0050 }
0051 
0052 void SecretAgentAdaptor::SaveSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path)
0053 {
0054     // handle method call org.freedesktop.NetworkManager.SecretAgent.SaveSecrets
0055     parent()->SaveSecrets(connection, connection_path);
0056 }
0057 
0058 #include "moc_secretagentadaptor.cpp"