File indexing completed on 2025-03-16 12:58:01
0001 /* 0002 * This file was generated by qdbusxml2cpp version 0.7 0003 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p simpleinterface \ 0004 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Modem.Simple.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_SIMPLEINTERFACE_H 0013 #define MODEMMANAGERQT_SIMPLEINTERFACE_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.Modem.Simple 0023 */ 0024 class OrgFreedesktopModemManager1ModemSimpleInterface : public QDBusAbstractInterface 0025 { 0026 Q_OBJECT 0027 public: 0028 static inline const char *staticInterfaceName() 0029 #ifdef MMQT_STATIC 0030 { 0031 return "org.kde.fakemodem.Modem.Simple"; 0032 } 0033 #else 0034 { 0035 return "org.freedesktop.ModemManager1.Modem.Simple"; 0036 } 0037 #endif 0038 public: 0039 OrgFreedesktopModemManager1ModemSimpleInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); 0040 0041 ~OrgFreedesktopModemManager1ModemSimpleInterface() override; 0042 0043 public Q_SLOTS: // METHODS 0044 inline QDBusPendingReply<QDBusObjectPath> Connect(const QVariantMap &properties) 0045 { 0046 QList<QVariant> argumentList; 0047 argumentList << QVariant::fromValue(properties); 0048 return asyncCallWithArgumentList(QLatin1String("Connect"), argumentList); 0049 } 0050 0051 inline QDBusPendingReply<> Disconnect(const QDBusObjectPath &bearer) 0052 { 0053 QList<QVariant> argumentList; 0054 argumentList << QVariant::fromValue(bearer); 0055 return asyncCallWithArgumentList(QLatin1String("Disconnect"), argumentList); 0056 } 0057 0058 inline QDBusPendingReply<QVariantMap> GetStatus() 0059 { 0060 QList<QVariant> argumentList; 0061 return asyncCallWithArgumentList(QLatin1String("GetStatus"), argumentList); 0062 } 0063 0064 Q_SIGNALS: // SIGNALS 0065 }; 0066 0067 #endif