File indexing completed on 2024-04-14 03:57:29

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 IP4CONFIGINTERFACE_H
0012 #define IP4CONFIGINTERFACE_H
0013 
0014 #include "generictypes.h"
0015 
0016 #include <QDBusAbstractInterface>
0017 #include <QObject>
0018 #include <QString>
0019 #include <QStringList>
0020 #include <QVariant>
0021 
0022 /*
0023  * Proxy class for interface org.freedesktop.NetworkManager.IP4Config
0024  */
0025 class OrgFreedesktopNetworkManagerIP4ConfigInterface : public QDBusAbstractInterface
0026 {
0027     Q_OBJECT
0028 public:
0029     static inline const char *staticInterfaceName()
0030 #ifdef NMQT_STATIC
0031     {
0032         return "org.kde.fakenetwork.IP4Config";
0033     }
0034 #else
0035     {
0036         return "org.freedesktop.NetworkManager.IP4Config";
0037     }
0038 #endif
0039 
0040 public:
0041     OrgFreedesktopNetworkManagerIP4ConfigInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
0042 
0043     ~OrgFreedesktopNetworkManagerIP4ConfigInterface() override;
0044 
0045     Q_PROPERTY(NMVariantMapList AddressData READ addressData)
0046     inline NMVariantMapList addressData() const
0047     {
0048         return qvariant_cast<NMVariantMapList>(property("AddressData"));
0049     }
0050 
0051     Q_PROPERTY(UIntListList Addresses READ addresses)
0052     inline UIntListList addresses() const
0053     {
0054         return qvariant_cast<UIntListList>(property("Addresses"));
0055     }
0056 
0057     Q_PROPERTY(QStringList DnsOptions READ dnsOptions)
0058     inline QStringList dnsOptions() const
0059     {
0060         return qvariant_cast<QStringList>(property("DnsOptions"));
0061     }
0062 
0063     Q_PROPERTY(int DnsPriority READ dnsPriority)
0064     inline int dnsPriority() const
0065     {
0066         return qvariant_cast<int>(property("DnsPriority"));
0067     }
0068 
0069     Q_PROPERTY(QStringList Domains READ domains)
0070     inline QStringList domains() const
0071     {
0072         return qvariant_cast<QStringList>(property("Domains"));
0073     }
0074 
0075     Q_PROPERTY(QString Gateway READ gateway)
0076     inline QString gateway() const
0077     {
0078         return qvariant_cast<QString>(property("Gateway"));
0079     }
0080 
0081     Q_PROPERTY(UIntList Nameservers READ nameservers)
0082     inline UIntList nameservers() const
0083     {
0084         return qvariant_cast<UIntList>(property("Nameservers"));
0085     }
0086 
0087     Q_PROPERTY(NMVariantMapList RouteData READ routeData)
0088     inline NMVariantMapList routeData() const
0089     {
0090         return qvariant_cast<NMVariantMapList>(property("RouteData"));
0091     }
0092 
0093     Q_PROPERTY(UIntListList Routes READ routes)
0094     inline UIntListList routes() const
0095     {
0096         return qvariant_cast<UIntListList>(property("Routes"));
0097     }
0098 
0099     Q_PROPERTY(QStringList Searches READ searches)
0100     inline QStringList searches() const
0101     {
0102         return qvariant_cast<QStringList>(property("Searches"));
0103     }
0104 
0105     Q_PROPERTY(UIntList WinsServers READ winsServers)
0106     inline UIntList winsServers() const
0107     {
0108         return qvariant_cast<UIntList>(property("WinsServers"));
0109     }
0110 
0111 public Q_SLOTS: // METHODS
0112 Q_SIGNALS: // SIGNALS
0113     void PropertiesChanged(const QVariantMap &properties);
0114 };
0115 
0116 #endif