NetworkManagerQt

teamdeviceinterface.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 TEAMDEVICEINTERFACE_H
12#define TEAMDEVICEINTERFACE_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.Device.Team
25 */
26class OrgFreedesktopNetworkManagerDeviceTeamInterface : public QDBusAbstractInterface
27{
29public:
30 static inline const char *staticInterfaceName()
31#ifdef NMQT_STATIC
32 {
33 return "org.kde.fakenetwork.Device.Team";
34 }
35#else
36 {
37 return "org.freedesktop.NetworkManager.Device.Team";
38 }
39#endif
40
41public:
42 OrgFreedesktopNetworkManagerDeviceTeamInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
43
44 ~OrgFreedesktopNetworkManagerDeviceTeamInterface() override;
45
46 Q_PROPERTY(bool Carrier READ carrier)
47 inline bool carrier() const
48 {
49 return qvariant_cast<bool>(property("Carrier"));
50 }
51
52 Q_PROPERTY(QString Config READ config)
53 inline QString config() const
54 {
55 return qvariant_cast<QString>(property("Config"));
56 }
57
58 Q_PROPERTY(QString HwAddress READ hwAddress)
59 inline QString hwAddress() const
60 {
61 return qvariant_cast<QString>(property("HwAddress"));
62 }
63
64 Q_PROPERTY(QList<QDBusObjectPath> Slaves READ slaves)
65 inline QList<QDBusObjectPath> slaves() const
66 {
67 return qvariant_cast<QList<QDBusObjectPath>>(property("Slaves"));
68 }
69
70public Q_SLOTS: // METHODS
71Q_SIGNALS: // SIGNALS
72 void PropertiesChanged(const QVariantMap &properties);
73};
74
75#endif
QDBusConnection connection() const const
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.