| 1 | /* |
| 2 | * This file was generated by qdbusxml2cpp version 0.8 |
| 3 | * Command line was: |
| 4 | * |
| 5 | * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd. |
| 6 | * |
| 7 | * This is an auto-generated file. |
| 8 | * Do not edit! All changes made to it will be lost. |
| 9 | */ |
| 10 | |
| 11 | #include "secretagentadaptor.h" |
| 12 | #include <QString> |
| 13 | |
| 14 | /* |
| 15 | * Implementation of adaptor class SecretAgentAdaptor |
| 16 | */ |
| 17 | |
| 18 | SecretAgentAdaptor::SecretAgentAdaptor(NetworkManager::SecretAgent *parent) |
| 19 | : QDBusAbstractAdaptor(parent) |
| 20 | { |
| 21 | // constructor |
| 22 | setAutoRelaySignals(true); |
| 23 | } |
| 24 | |
| 25 | SecretAgentAdaptor::~SecretAgentAdaptor() |
| 26 | { |
| 27 | // destructor |
| 28 | } |
| 29 | |
| 30 | void SecretAgentAdaptor::CancelGetSecrets(const QDBusObjectPath &connection_path, const QString &setting_name) |
| 31 | { |
| 32 | // handle method call org.freedesktop.NetworkManager.SecretAgent.CancelGetSecrets |
| 33 | parent()->CancelGetSecrets(connection_path, setting_name); |
| 34 | } |
| 35 | |
| 36 | void SecretAgentAdaptor::DeleteSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path) |
| 37 | { |
| 38 | // handle method call org.freedesktop.NetworkManager.SecretAgent.DeleteSecrets |
| 39 | parent()->DeleteSecrets(connection, connection_path); |
| 40 | } |
| 41 | |
| 42 | NMVariantMapMap SecretAgentAdaptor::GetSecrets(NMVariantMapMap connection, |
| 43 | const QDBusObjectPath &connection_path, |
| 44 | const QString &setting_name, |
| 45 | const QStringList &hints, |
| 46 | uint flags) |
| 47 | { |
| 48 | // handle method call org.freedesktop.NetworkManager.SecretAgent.GetSecrets |
| 49 | return parent()->GetSecrets(connection, connection_path, setting_name, hints, flags); |
| 50 | } |
| 51 | |
| 52 | void SecretAgentAdaptor::SaveSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path) |
| 53 | { |
| 54 | // handle method call org.freedesktop.NetworkManager.SecretAgent.SaveSecrets |
| 55 | parent()->SaveSecrets(connection, connection_path); |
| 56 | } |
| 57 | |
| 58 | #include "moc_secretagentadaptor.cpp" |
| 59 | |