NetworkManagerQt

secretagentadaptor.cpp
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
18SecretAgentAdaptor::SecretAgentAdaptor(NetworkManager::SecretAgent *parent)
19 : QDBusAbstractAdaptor(parent)
20{
21 // constructor
22 setAutoRelaySignals(true);
23}
24
25SecretAgentAdaptor::~SecretAgentAdaptor()
26{
27 // destructor
28}
29
30void 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
36void 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
42NMVariantMapMap 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
52void 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"
Implementation of a private D-Bus interface used by secret agents that store and provide secrets to N...
Definition secretagent.h:30
virtual void CancelGetSecrets(const QDBusObjectPath &connection_path, const QString &setting_name)=0
Called when the subclass should cancel an outstanding request to get secrets for a given connection.
virtual NMVariantMapMap GetSecrets(const NMVariantMapMap &connection, const QDBusObjectPath &connection_path, const QString &setting_name, const QStringList &hints, uint flags)=0
Called when the subclass should retrieve and return secrets.
virtual void DeleteSecrets(const NMVariantMapMap &connection, const QDBusObjectPath &connection_path)=0
Called when the subclass should delete the secrets contained in the connection from backing storage.
virtual void SaveSecrets(const NMVariantMapMap &connection, const QDBusObjectPath &connection_path)=0
Called when the subclass should save the secrets contained in the connection to backing storage.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.