File indexing completed on 2024-05-12 15:48:08

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 <QList>
0017 #include <QObject>
0018 #include <QString>
0019 #include <QVariant>
0020 
0021 /*
0022  * Proxy class for interface org.freedesktop.ModemManager1.Bearer
0023  */
0024 class OrgFreedesktopModemManager1BearerInterface : public QDBusAbstractInterface
0025 {
0026     Q_OBJECT
0027 public:
0028     static inline const char *staticInterfaceName()
0029 #ifdef MMQT_STATIC
0030     {
0031         return "org.kde.fakemodem.Bearer";
0032     }
0033 #else
0034     {
0035         return "org.freedesktop.ModemManager1.Bearer";
0036     }
0037 #endif
0038 public:
0039     OrgFreedesktopModemManager1BearerInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
0040 
0041     ~OrgFreedesktopModemManager1BearerInterface() override;
0042 
0043     Q_PROPERTY(bool Connected READ connected)
0044     inline bool connected() const
0045     {
0046         return qvariant_cast<bool>(property("Connected"));
0047     }
0048 
0049     Q_PROPERTY(QString Interface READ interface)
0050     inline QString interface() const
0051     {
0052         return qvariant_cast<QString>(property("Interface"));
0053     }
0054 
0055     Q_PROPERTY(QVariantMap Ip4Config READ ip4Config)
0056     inline QVariantMap ip4Config() const
0057     {
0058         return qvariant_cast<QVariantMap>(property("Ip4Config"));
0059     }
0060 
0061     Q_PROPERTY(QVariantMap Ip6Config READ ip6Config)
0062     inline QVariantMap ip6Config() const
0063     {
0064         return qvariant_cast<QVariantMap>(property("Ip6Config"));
0065     }
0066 
0067     Q_PROPERTY(uint IpTimeout READ ipTimeout)
0068     inline uint ipTimeout() const
0069     {
0070         return qvariant_cast<uint>(property("IpTimeout"));
0071     }
0072 
0073     Q_PROPERTY(QVariantMap Properties READ properties)
0074     inline QVariantMap properties() const
0075     {
0076         return qvariant_cast<QVariantMap>(property("Properties"));
0077     }
0078 
0079     Q_PROPERTY(bool Suspended READ suspended)
0080     inline bool suspended() const
0081     {
0082         return qvariant_cast<bool>(property("Suspended"));
0083     }
0084 
0085 public Q_SLOTS: // METHODS
0086     inline QDBusPendingReply<> Connect()
0087     {
0088         QList<QVariant> argumentList;
0089         return asyncCallWithArgumentList(QLatin1String("Connect"), argumentList);
0090     }
0091 
0092     inline QDBusPendingReply<> Disconnect()
0093     {
0094         QList<QVariant> argumentList;
0095         return asyncCallWithArgumentList(QLatin1String("Disconnect"), argumentList);
0096     }
0097 
0098 Q_SIGNALS: // SIGNALS
0099 };
0100 
0101 #endif