File indexing completed on 2025-04-27 03:46:34
0001 /* 0002 * This file was generated by qdbusxml2cpp version 0.7 0003 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p bearerinterface \ 0004 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Bearer.xml 0005 * 0006 * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 0007 * 0008 * This is an auto-generated file. 0009 * Do not edit! All changes made to it will be lost. 0010 */ 0011 0012 #ifndef MODEMMANAGERQT_BEARERINTERFACE_H 0013 #define MODEMMANAGERQT_BEARERINTERFACE_H 0014 0015 #include "generictypes.h" 0016 #include <QDBusAbstractInterface> 0017 #include <QDBusPendingReply> 0018 #include <QList> 0019 #include <QObject> 0020 #include <QString> 0021 #include <QVariant> 0022 0023 /* 0024 * Proxy class for interface org.freedesktop.ModemManager1.Bearer 0025 */ 0026 class OrgFreedesktopModemManager1BearerInterface : public QDBusAbstractInterface 0027 { 0028 Q_OBJECT 0029 public: 0030 static inline const char *staticInterfaceName() 0031 #ifdef MMQT_STATIC 0032 { 0033 return "org.kde.fakemodem.Bearer"; 0034 } 0035 #else 0036 { 0037 return "org.freedesktop.ModemManager1.Bearer"; 0038 } 0039 #endif 0040 public: 0041 OrgFreedesktopModemManager1BearerInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); 0042 0043 ~OrgFreedesktopModemManager1BearerInterface() override; 0044 0045 Q_PROPERTY(bool Connected READ connected) 0046 inline bool connected() const 0047 { 0048 return qvariant_cast<bool>(property("Connected")); 0049 } 0050 0051 Q_PROPERTY(QString Interface READ interface) 0052 inline QString interface() const 0053 { 0054 return qvariant_cast<QString>(property("Interface")); 0055 } 0056 0057 Q_PROPERTY(QVariantMap Ip4Config READ ip4Config) 0058 inline QVariantMap ip4Config() const 0059 { 0060 return qvariant_cast<QVariantMap>(property("Ip4Config")); 0061 } 0062 0063 Q_PROPERTY(QVariantMap Ip6Config READ ip6Config) 0064 inline QVariantMap ip6Config() const 0065 { 0066 return qvariant_cast<QVariantMap>(property("Ip6Config")); 0067 } 0068 0069 Q_PROPERTY(uint IpTimeout READ ipTimeout) 0070 inline uint ipTimeout() const 0071 { 0072 return qvariant_cast<uint>(property("IpTimeout")); 0073 } 0074 0075 Q_PROPERTY(QVariantMap Properties READ properties) 0076 inline QVariantMap properties() const 0077 { 0078 return qvariant_cast<QVariantMap>(property("Properties")); 0079 } 0080 0081 Q_PROPERTY(bool Suspended READ suspended) 0082 inline bool suspended() const 0083 { 0084 return qvariant_cast<bool>(property("Suspended")); 0085 } 0086 0087 public Q_SLOTS: // METHODS 0088 inline QDBusPendingReply<> Connect() 0089 { 0090 QList<QVariant> argumentList; 0091 return asyncCallWithArgumentList(QLatin1String("Connect"), argumentList); 0092 } 0093 0094 inline QDBusPendingReply<> Disconnect() 0095 { 0096 QList<QVariant> argumentList; 0097 return asyncCallWithArgumentList(QLatin1String("Disconnect"), argumentList); 0098 } 0099 0100 Q_SIGNALS: // SIGNALS 0101 }; 0102 0103 #endif