ModemManagerQt

bearerinterface.h
1/*
2 * This file was generated by qdbusxml2cpp version 0.7
3 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p bearerinterface \
4 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Bearer.xml
5 *
6 * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
7 *
8 * This is an auto-generated file.
9 * Do not edit! All changes made to it will be lost.
10 */
11
12#ifndef MODEMMANAGERQT_BEARERINTERFACE_H
13#define MODEMMANAGERQT_BEARERINTERFACE_H
14
15#include "generictypes.h"
16#include <QDBusAbstractInterface>
17#include <QDBusPendingReply>
18#include <QList>
19#include <QObject>
20#include <QString>
21#include <QVariant>
22
23/*
24 * Proxy class for interface org.freedesktop.ModemManager1.Bearer
25 */
26class OrgFreedesktopModemManager1BearerInterface : public QDBusAbstractInterface
27{
29public:
30 static inline const char *staticInterfaceName()
31#ifdef MMQT_STATIC
32 {
33 return "org.kde.fakemodem.Bearer";
34 }
35#else
36 {
37 return "org.freedesktop.ModemManager1.Bearer";
38 }
39#endif
40public:
41 OrgFreedesktopModemManager1BearerInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
42
43 ~OrgFreedesktopModemManager1BearerInterface() override;
44
45 Q_PROPERTY(bool Connected READ connected)
46 inline bool connected() const
47 {
48 return qvariant_cast<bool>(property("Connected"));
49 }
50
51 Q_PROPERTY(QString Interface READ interface)
52 inline QString interface() const
53 {
54 return qvariant_cast<QString>(property("Interface"));
55 }
56
57 Q_PROPERTY(QVariantMap Ip4Config READ ip4Config)
58 inline QVariantMap ip4Config() const
59 {
60 return qvariant_cast<QVariantMap>(property("Ip4Config"));
61 }
62
63 Q_PROPERTY(QVariantMap Ip6Config READ ip6Config)
64 inline QVariantMap ip6Config() const
65 {
66 return qvariant_cast<QVariantMap>(property("Ip6Config"));
67 }
68
69 Q_PROPERTY(uint IpTimeout READ ipTimeout)
70 inline uint ipTimeout() const
71 {
72 return qvariant_cast<uint>(property("IpTimeout"));
73 }
74
75 Q_PROPERTY(QVariantMap Properties READ properties)
76 inline QVariantMap properties() const
77 {
78 return qvariant_cast<QVariantMap>(property("Properties"));
79 }
80
81 Q_PROPERTY(bool Suspended READ suspended)
82 inline bool suspended() const
83 {
84 return qvariant_cast<bool>(property("Suspended"));
85 }
86
87public Q_SLOTS: // METHODS
88 inline QDBusPendingReply<> Connect()
89 {
90 QList<QVariant> argumentList;
91 return asyncCallWithArgumentList(QLatin1String("Connect"), argumentList);
92 }
93
94 inline QDBusPendingReply<> Disconnect()
95 {
96 QList<QVariant> argumentList;
97 return asyncCallWithArgumentList(QLatin1String("Disconnect"), argumentList);
98 }
99
100Q_SIGNALS: // SIGNALS
101};
102
103#endif
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args)
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 22 2024 12:07:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.