NetworkManagerQt

secretagentadaptor.h
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 * This file may have been hand-edited. Look for HAND-EDIT comments
9 * before re-generating it.
10 */
11
12#ifndef SECRETAGENTADAPTOR_H
13#define SECRETAGENTADAPTOR_H
14
15#include "secretagent.h"
16
17#include <QDBusAbstractAdaptor>
18#include <QDBusObjectPath>
19#include <QObject>
20#include <QStringList>
21
22QT_BEGIN_NAMESPACE
23class QByteArray;
24template<class T>
25class QList;
26template<class Key, class Value>
27class QMap;
28class QString;
29class QVariant;
30QT_END_NAMESPACE
31
32/*
33 * Adaptor class for interface org.freedesktop.NetworkManager.SecretAgent
34 */
35class SecretAgentAdaptor : public QDBusAbstractAdaptor
36{
38 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.NetworkManager.SecretAgent")
39 Q_CLASSINFO("D-Bus Introspection",
40 ""
41 " <interface name=\"org.freedesktop.NetworkManager.SecretAgent\">\n"
42 " <method name=\"GetSecrets\">\n"
43 " <annotation value=\"impl_secret_agent_get_secrets\" name=\"org.freedesktop.DBus.GLib.CSymbol\"/>\n"
44 " <annotation value=\"\" name=\"org.freedesktop.DBus.GLib.Async\"/>\n"
45 " <annotation value=\"NMVariantMapMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
46 " <arg direction=\"in\" type=\"a{sa{sv}}\" name=\"connection\"/>\n"
47 " <arg direction=\"in\" type=\"o\" name=\"connection_path\"/>\n"
48 " <arg direction=\"in\" type=\"s\" name=\"setting_name\"/>\n"
49 " <arg direction=\"in\" type=\"as\" name=\"hints\"/>\n"
50 " <arg direction=\"in\" type=\"u\" name=\"flags\"/>\n"
51 " <annotation value=\"NMVariantMapMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out0\"/>\n"
52 " <arg direction=\"out\" type=\"a{sa{sv}}\" name=\"secrets\"/>\n"
53 " </method>\n"
54 " <method name=\"CancelGetSecrets\">\n"
55 " <annotation value=\"impl_secret_agent_cancel_get_secrets\" name=\"org.freedesktop.DBus.GLib.CSymbol\"/>\n"
56 " <annotation value=\"\" name=\"org.freedesktop.DBus.GLib.Async\"/>\n"
57 " <arg direction=\"in\" type=\"o\" name=\"connection_path\"/>\n"
58 " <arg direction=\"in\" type=\"s\" name=\"setting_name\"/>\n"
59 " </method>\n"
60 " <method name=\"SaveSecrets\">\n"
61 " <annotation value=\"impl_secret_agent_save_secrets\" name=\"org.freedesktop.DBus.GLib.CSymbol\"/>\n"
62 " <annotation value=\"\" name=\"org.freedesktop.DBus.GLib.Async\"/>\n"
63 " <annotation value=\"NMVariantMapMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
64 " <arg direction=\"in\" type=\"a{sa{sv}}\" name=\"connection\"/>\n"
65 " <arg direction=\"in\" type=\"o\" name=\"connection_path\"/>\n"
66 " </method>\n"
67 " <method name=\"DeleteSecrets\">\n"
68 " <annotation value=\"impl_secret_agent_delete_secrets\" name=\"org.freedesktop.DBus.GLib.CSymbol\"/>\n"
69 " <annotation value=\"\" name=\"org.freedesktop.DBus.GLib.Async\"/>\n"
70 " <annotation value=\"NMVariantMapMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
71 " <arg direction=\"in\" type=\"a{sa{sv}}\" name=\"connection\"/>\n"
72 " <arg direction=\"in\" type=\"o\" name=\"connection_path\"/>\n"
73 " </method>\n"
74 " </interface>\n"
75 "")
76public:
77 SecretAgentAdaptor(NetworkManager::SecretAgent *parent);
78 ~SecretAgentAdaptor() override;
79
80 inline NetworkManager::SecretAgent *parent() const
81 {
82 return static_cast<NetworkManager::SecretAgent *>(QObject::parent());
83 }
84
85public: // PROPERTIES
86public Q_SLOTS: // METHODS
87 void CancelGetSecrets(const QDBusObjectPath &connection_path, const QString &setting_name);
88 void DeleteSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path);
90 GetSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path, const QString &setting_name, const QStringList &hints, uint flags);
91 void SaveSecrets(NMVariantMapMap connection, const QDBusObjectPath &connection_path);
92Q_SIGNALS: // SIGNALS
93};
94
95#endif
Implementation of a private D-Bus interface used by secret agents that store and provide secrets to N...
Definition secretagent.h:30
This class allows querying the underlying system to discover the available network interfaces and rea...
Definition accesspoint.h:21
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
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.