NetworkManagerQt

vpnconnectioninterface.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 * Do not edit! All changes made to it will be lost.
9 */
10
11#ifndef VPNCONNECTIONINTERFACE_H
12#define VPNCONNECTIONINTERFACE_H
13
14#include "generictypes.h"
15
16#include <QDBusAbstractInterface>
17#include <QObject>
18#include <QString>
19#include <QVariant>
20
21/*
22 * Proxy class for interface org.freedesktop.NetworkManager.VPN.Connection
23 */
24class OrgFreedesktopNetworkManagerVPNConnectionInterface : public QDBusAbstractInterface
25{
27public:
28 static inline const char *staticInterfaceName()
29#ifdef NMQT_STATIC
30 {
31 return "org.kde.fakenetwork.Settings.VPN.Connection";
32 }
33#else
34 {
35 return "org.freedesktop.NetworkManager.VPN.Connection";
36 }
37#endif
38
39public:
40 OrgFreedesktopNetworkManagerVPNConnectionInterface(const QString &service,
41 const QString &path,
43 QObject *parent = nullptr);
44
45 ~OrgFreedesktopNetworkManagerVPNConnectionInterface() override;
46
47 Q_PROPERTY(QString Banner READ banner)
48 inline QString banner() const
49 {
50 return qvariant_cast<QString>(property("Banner"));
51 }
52
53 Q_PROPERTY(uint VpnState READ vpnState)
54 inline uint vpnState() const
55 {
56 return qvariant_cast<uint>(property("VpnState"));
57 }
58
59public Q_SLOTS: // METHODS
60Q_SIGNALS: // SIGNALS
61 void PropertiesChanged(const QVariantMap &properties);
62 void VpnStateChanged(uint state, uint reason);
63};
64
65#endif
QDBusConnection connection() const const
QString path() const const
QString service() const const
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QVariant property(const char *name) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.