NetworkManagerQt

activeconnectioninterface.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 ACTIVECONNECTIONINTERFACE_H
12#define ACTIVECONNECTIONINTERFACE_H
13
14#include "generictypes.h"
15
16#include <QDBusAbstractInterface>
17#include <QDBusObjectPath>
18#include <QList>
19#include <QObject>
20#include <QString>
21#include <QVariant>
22
23/*
24 * Proxy class for interface org.freedesktop.NetworkManager.Connection.Active
25 */
26class OrgFreedesktopNetworkManagerConnectionActiveInterface : public QDBusAbstractInterface
27{
29public:
30 static inline const char *staticInterfaceName()
31#ifdef NMQT_STATIC
32 {
33 return "org.kde.fakenetwork.Connection.Active";
34 }
35#else
36 {
37 return "org.freedesktop.NetworkManager.Connection.Active";
38 }
39#endif
40
41public:
42 OrgFreedesktopNetworkManagerConnectionActiveInterface(const QString &service,
43 const QString &path,
44 const QDBusConnection &connection,
45 QObject *parent = nullptr);
46
47 ~OrgFreedesktopNetworkManagerConnectionActiveInterface() override;
48
49 Q_PROPERTY(QDBusObjectPath Connection READ connection)
50 inline QDBusObjectPath connection() const
51 {
52 return qvariant_cast<QDBusObjectPath>(property("Connection"));
53 }
54
55 Q_PROPERTY(bool Default READ default4)
56 inline bool default4() const
57 {
58 return qvariant_cast<bool>(property("Default"));
59 }
60
61 Q_PROPERTY(bool Default6 READ default6)
62 inline bool default6() const
63 {
64 return qvariant_cast<bool>(property("Default6"));
65 }
66
67 Q_PROPERTY(QList<QDBusObjectPath> Devices READ devices)
68 inline QList<QDBusObjectPath> devices() const
69 {
70 return qvariant_cast<QList<QDBusObjectPath>>(property("Devices"));
71 }
72
73 Q_PROPERTY(QDBusObjectPath Dhcp4Config READ dhcp4Config)
74 inline QDBusObjectPath dhcp4Config() const
75 {
76 return qvariant_cast<QDBusObjectPath>(property("Dhcp4Config"));
77 }
78
79 Q_PROPERTY(QDBusObjectPath Dhcp6Config READ dhcp6Config)
80 inline QDBusObjectPath dhcp6Config() const
81 {
82 return qvariant_cast<QDBusObjectPath>(property("Dhcp6Config"));
83 }
84
85 Q_PROPERTY(QString Id READ id)
86 inline QString id() const
87 {
88 return qvariant_cast<QString>(property("Id"));
89 }
90
91 Q_PROPERTY(QDBusObjectPath Ip4Config READ ip4Config)
92 inline QDBusObjectPath ip4Config() const
93 {
94 return qvariant_cast<QDBusObjectPath>(property("Ip4Config"));
95 }
96
97 Q_PROPERTY(QDBusObjectPath Ip6Config READ ip6Config)
98 inline QDBusObjectPath ip6Config() const
99 {
100 return qvariant_cast<QDBusObjectPath>(property("Ip6Config"));
101 }
102
103 Q_PROPERTY(QDBusObjectPath Master READ master)
104 inline QDBusObjectPath master() const
105 {
106 return qvariant_cast<QDBusObjectPath>(property("Master"));
107 }
108
109 Q_PROPERTY(QDBusObjectPath SpecificObject READ specificObject)
110 inline QDBusObjectPath specificObject() const
111 {
112 return qvariant_cast<QDBusObjectPath>(property("SpecificObject"));
113 }
114
115 Q_PROPERTY(uint State READ state)
116 inline uint state() const
117 {
118 return qvariant_cast<uint>(property("State"));
119 }
120
121 Q_PROPERTY(QString Type READ type)
122 inline QString type() const
123 {
124 return qvariant_cast<QString>(property("Type"));
125 }
126
127 Q_PROPERTY(QString Uuid READ uuid)
128 inline QString uuid() const
129 {
130 return qvariant_cast<QString>(property("Uuid"));
131 }
132
133 Q_PROPERTY(bool Vpn READ vpn)
134 inline bool vpn() const
135 {
136 return qvariant_cast<bool>(property("Vpn"));
137 }
138
139public Q_SLOTS: // METHODS
140Q_SIGNALS: // SIGNALS
141 void PropertiesChanged(const QVariantMap &properties);
142 void StateChanged(uint state, uint reason);
143};
144
145#endif
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 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.