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 DEVICESTATISTICSINTERFACE_H
12#define DEVICESTATISTICSINTERFACE_H
13
14#include "generictypes.h"
15
16#include <QDBusAbstractInterface>
17#include <QObject>
18#include <QString>
19#include <QVariant>
20
21/*
22 * Proxy class for interface org.freedesktop.NetworkManager.Device.Statistics
23 */
24class OrgFreedesktopNetworkManagerDeviceStatisticsInterface : public QDBusAbstractInterface
25{
26 Q_OBJECT
27public:
28 static inline const char *staticInterfaceName()
29#ifdef NMQT_STATIC
30 {
31 return "org.kde.fakenetwork.Device.Statistics";
32 }
33#else
34 {
35 return "org.freedesktop.NetworkManager.Device.Statistics";
36 }
37#endif
38
39public:
40 OrgFreedesktopNetworkManagerDeviceStatisticsInterface(const QString &service,
41 const QString &path,
42 const QDBusConnection &connection,
43 QObject *parent = nullptr);
44
45 ~OrgFreedesktopNetworkManagerDeviceStatisticsInterface() override;
46
47 Q_PROPERTY(uint RefreshRateMs READ refreshRateMs WRITE setRefreshRateMs)
48 inline uint refreshRateMs() const
49 {
50 return qvariant_cast<uint>(v: property(name: "RefreshRateMs"));
51 }
52 inline void setRefreshRateMs(uint value)
53 {
54 setProperty(name: "RefreshRateMs", value: QVariant::fromValue(value));
55 }
56
57 Q_PROPERTY(qulonglong RxBytes READ rxBytes)
58 inline qulonglong rxBytes() const
59 {
60 return qvariant_cast<qulonglong>(v: property(name: "RxBytes"));
61 }
62
63 Q_PROPERTY(qulonglong TxBytes READ txBytes)
64 inline qulonglong txBytes() const
65 {
66 return qvariant_cast<qulonglong>(v: property(name: "TxBytes"));
67 }
68
69public Q_SLOTS: // METHODS
70Q_SIGNALS: // SIGNALS
71 void PropertiesChanged(const QVariantMap &properties);
72};
73
74#endif
75

source code of networkmanager-qt/src/dbus/devicestatisticsinterface.h