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

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 TEAMDEVICEINTERFACE_H
0012 #define TEAMDEVICEINTERFACE_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.Device.Team
0025  */
0026 class OrgFreedesktopNetworkManagerDeviceTeamInterface : public QDBusAbstractInterface
0027 {
0028     Q_OBJECT
0029 public:
0030     static inline const char *staticInterfaceName()
0031 #ifdef NMQT_STATIC
0032     {
0033         return "org.kde.fakenetwork.Device.Team";
0034     }
0035 #else
0036     {
0037         return "org.freedesktop.NetworkManager.Device.Team";
0038     }
0039 #endif
0040 
0041 public:
0042     OrgFreedesktopNetworkManagerDeviceTeamInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
0043 
0044     ~OrgFreedesktopNetworkManagerDeviceTeamInterface() override;
0045 
0046     Q_PROPERTY(bool Carrier READ carrier)
0047     inline bool carrier() const
0048     {
0049         return qvariant_cast<bool>(property("Carrier"));
0050     }
0051 
0052     Q_PROPERTY(QString Config READ config)
0053     inline QString config() const
0054     {
0055         return qvariant_cast<QString>(property("Config"));
0056     }
0057 
0058     Q_PROPERTY(QString HwAddress READ hwAddress)
0059     inline QString hwAddress() const
0060     {
0061         return qvariant_cast<QString>(property("HwAddress"));
0062     }
0063 
0064     Q_PROPERTY(QList<QDBusObjectPath> Slaves READ slaves)
0065     inline QList<QDBusObjectPath> slaves() const
0066     {
0067         return qvariant_cast<QList<QDBusObjectPath>>(property("Slaves"));
0068     }
0069 
0070 public Q_SLOTS: // METHODS
0071 Q_SIGNALS: // SIGNALS
0072     void PropertiesChanged(const QVariantMap &properties);
0073 };
0074 
0075 #endif