File indexing completed on 2024-06-09 11:54:15

0001 /*
0002  * This file was generated by qdbusxml2cpp version 0.8
0003  * Command line was:
0004  *
0005  * qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
0006  *
0007  * This is an auto-generated file.
0008  * Do not edit! All changes made to it will be lost.
0009  */
0010 
0011 #ifndef ACTIVECONNECTIONINTERFACE_H
0012 #define ACTIVECONNECTIONINTERFACE_H
0013 
0014 #include "generictypes.h"
0015 
0016 #include <QDBusAbstractInterface>
0017 #include <QDBusObjectPath>
0018 #include <QList>
0019 #include <QObject>
0020 #include <QString>
0021 #include <QVariant>
0022 
0023 /*
0024  * Proxy class for interface org.freedesktop.NetworkManager.Connection.Active
0025  */
0026 class OrgFreedesktopNetworkManagerConnectionActiveInterface : public QDBusAbstractInterface
0027 {
0028     Q_OBJECT
0029 public:
0030     static inline const char *staticInterfaceName()
0031 #ifdef NMQT_STATIC
0032     {
0033         return "org.kde.fakenetwork.Connection.Active";
0034     }
0035 #else
0036     {
0037         return "org.freedesktop.NetworkManager.Connection.Active";
0038     }
0039 #endif
0040 
0041 public:
0042     OrgFreedesktopNetworkManagerConnectionActiveInterface(const QString &service,
0043                                                           const QString &path,
0044                                                           const QDBusConnection &connection,
0045                                                           QObject *parent = nullptr);
0046 
0047     ~OrgFreedesktopNetworkManagerConnectionActiveInterface() override;
0048 
0049     Q_PROPERTY(QDBusObjectPath Connection READ connection)
0050     inline QDBusObjectPath connection() const
0051     {
0052         return qvariant_cast<QDBusObjectPath>(property("Connection"));
0053     }
0054 
0055     Q_PROPERTY(bool Default READ default4)
0056     inline bool default4() const
0057     {
0058         return qvariant_cast<bool>(property("Default"));
0059     }
0060 
0061     Q_PROPERTY(bool Default6 READ default6)
0062     inline bool default6() const
0063     {
0064         return qvariant_cast<bool>(property("Default6"));
0065     }
0066 
0067     Q_PROPERTY(QList<QDBusObjectPath> Devices READ devices)
0068     inline QList<QDBusObjectPath> devices() const
0069     {
0070         return qvariant_cast<QList<QDBusObjectPath>>(property("Devices"));
0071     }
0072 
0073     Q_PROPERTY(QDBusObjectPath Dhcp4Config READ dhcp4Config)
0074     inline QDBusObjectPath dhcp4Config() const
0075     {
0076         return qvariant_cast<QDBusObjectPath>(property("Dhcp4Config"));
0077     }
0078 
0079     Q_PROPERTY(QDBusObjectPath Dhcp6Config READ dhcp6Config)
0080     inline QDBusObjectPath dhcp6Config() const
0081     {
0082         return qvariant_cast<QDBusObjectPath>(property("Dhcp6Config"));
0083     }
0084 
0085     Q_PROPERTY(QString Id READ id)
0086     inline QString id() const
0087     {
0088         return qvariant_cast<QString>(property("Id"));
0089     }
0090 
0091     Q_PROPERTY(QDBusObjectPath Ip4Config READ ip4Config)
0092     inline QDBusObjectPath ip4Config() const
0093     {
0094         return qvariant_cast<QDBusObjectPath>(property("Ip4Config"));
0095     }
0096 
0097     Q_PROPERTY(QDBusObjectPath Ip6Config READ ip6Config)
0098     inline QDBusObjectPath ip6Config() const
0099     {
0100         return qvariant_cast<QDBusObjectPath>(property("Ip6Config"));
0101     }
0102 
0103     Q_PROPERTY(QDBusObjectPath Master READ master)
0104     inline QDBusObjectPath master() const
0105     {
0106         return qvariant_cast<QDBusObjectPath>(property("Master"));
0107     }
0108 
0109     Q_PROPERTY(QDBusObjectPath SpecificObject READ specificObject)
0110     inline QDBusObjectPath specificObject() const
0111     {
0112         return qvariant_cast<QDBusObjectPath>(property("SpecificObject"));
0113     }
0114 
0115     Q_PROPERTY(uint State READ state)
0116     inline uint state() const
0117     {
0118         return qvariant_cast<uint>(property("State"));
0119     }
0120 
0121     Q_PROPERTY(QString Type READ type)
0122     inline QString type() const
0123     {
0124         return qvariant_cast<QString>(property("Type"));
0125     }
0126 
0127     Q_PROPERTY(QString Uuid READ uuid)
0128     inline QString uuid() const
0129     {
0130         return qvariant_cast<QString>(property("Uuid"));
0131     }
0132 
0133     Q_PROPERTY(bool Vpn READ vpn)
0134     inline bool vpn() const
0135     {
0136         return qvariant_cast<bool>(property("Vpn"));
0137     }
0138 
0139 public Q_SLOTS: // METHODS
0140 Q_SIGNALS: // SIGNALS
0141     void PropertiesChanged(const QVariantMap &properties);
0142     void StateChanged(uint state, uint reason);
0143 };
0144 
0145 #endif