11#ifndef IP4CONFIGINTERFACE_H
12#define IP4CONFIGINTERFACE_H
14#include "generictypes.h"
16#include <QDBusAbstractInterface>
29 static inline const char *staticInterfaceName()
32 return "org.kde.fakenetwork.IP4Config";
36 return "org.freedesktop.NetworkManager.IP4Config";
43 ~OrgFreedesktopNetworkManagerIP4ConfigInterface()
override;
45 Q_PROPERTY(NMVariantMapList AddressData READ addressData)
46 inline NMVariantMapList addressData()
const
48 return qvariant_cast<NMVariantMapList>(
property(
"AddressData"));
51 Q_PROPERTY(UIntListList Addresses READ addresses)
52 inline UIntListList addresses()
const
54 return qvariant_cast<UIntListList>(
property(
"Addresses"));
57 Q_PROPERTY(QStringList DnsOptions READ dnsOptions)
58 inline QStringList dnsOptions()
const
60 return qvariant_cast<QStringList>(
property(
"DnsOptions"));
64 inline int dnsPriority()
const
66 return qvariant_cast<int>(
property(
"DnsPriority"));
70 inline QStringList domains()
const
72 return qvariant_cast<QStringList>(
property(
"Domains"));
76 inline QString gateway()
const
78 return qvariant_cast<QString>(
property(
"Gateway"));
81 Q_PROPERTY(UIntList Nameservers READ nameservers)
82 inline UIntList nameservers()
const
84 return qvariant_cast<UIntList>(
property(
"Nameservers"));
87 Q_PROPERTY(NMVariantMapList RouteData READ routeData)
88 inline NMVariantMapList routeData()
const
90 return qvariant_cast<NMVariantMapList>(
property(
"RouteData"));
94 inline UIntListList routes()
const
96 return qvariant_cast<UIntListList>(
property(
"Routes"));
100 inline QStringList searches()
const
102 return qvariant_cast<QStringList>(
property(
"Searches"));
105 Q_PROPERTY(UIntList WinsServers READ winsServers)
106 inline UIntList winsServers()
const
108 return qvariant_cast<UIntList>(
property(
"WinsServers"));
113 void PropertiesChanged(
const QVariantMap &properties);
QDBusConnection connection() const const
QString path() const const
QString service() const const
QObject * parent() const const
QVariant property(const char *name) const const