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 WIREGUARDDEVICEINTERFACE_H |
12 | #define WIREGUARDDEVICEINTERFACE_H |
13 | |
14 | #include "generictypes.h" |
15 | |
16 | #include <QByteArray> |
17 | #include <QDBusAbstractInterface> |
18 | #include <QObject> |
19 | #include <QString> |
20 | |
21 | /* |
22 | * Proxy class for interface org.freedesktop.NetworkManager.Device.WireGuard |
23 | */ |
24 | class OrgFreedesktopNetworkManagerDeviceWireGuardInterface : public QDBusAbstractInterface |
25 | { |
26 | Q_OBJECT |
27 | public: |
28 | static inline const char *staticInterfaceName() |
29 | #ifdef NMQT_STATIC |
30 | { |
31 | return "org.kde.fakenetwork.Device.WireGuard" ; |
32 | } |
33 | #else |
34 | { |
35 | return "org.freedesktop.NetworkManager.Device.WireGuard" ; |
36 | } |
37 | #endif |
38 | |
39 | public: |
40 | OrgFreedesktopNetworkManagerDeviceWireGuardInterface(const QString &service, |
41 | const QString &path, |
42 | const QDBusConnection &connection, |
43 | QObject *parent = nullptr); |
44 | |
45 | ~OrgFreedesktopNetworkManagerDeviceWireGuardInterface() override; |
46 | |
47 | Q_PROPERTY(QByteArray PublicKey READ publicKey) |
48 | inline QByteArray publicKey() const |
49 | { |
50 | return qvariant_cast<QByteArray>(v: property(name: "PublicKey" )); |
51 | } |
52 | |
53 | Q_PROPERTY(uint ListenPort READ listenPort) |
54 | inline uint listenPort() const |
55 | { |
56 | return qvariant_cast<uint>(v: property(name: "ListenPort" )); |
57 | } |
58 | |
59 | Q_PROPERTY(uint FwMark READ fwMark) |
60 | inline uint fwMark() const |
61 | { |
62 | return qvariant_cast<uint>(v: property(name: "FwMark" )); |
63 | } |
64 | |
65 | public Q_SLOTS: // METHODS |
66 | Q_SIGNALS: // SIGNALS |
67 | }; |
68 | |
69 | #endif |
70 | |