File indexing completed on 2025-03-23 12:49:29
0001 /* 0002 * This file was generated by qdbusxml2cpp version 0.7 0003 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p ussdinterface \ 0004 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd.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_USSDINTERFACE_H 0013 #define MODEMMANAGERQT_USSDINTERFACE_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.Modem3gpp.Ussd 0023 */ 0024 class OrgFreedesktopModemManager1ModemModem3gppUssdInterface : 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.Modem3gpp.Ussd"; 0032 } 0033 #else 0034 { 0035 return "org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd"; 0036 } 0037 #endif 0038 public: 0039 OrgFreedesktopModemManager1ModemModem3gppUssdInterface(const QString &service, 0040 const QString &path, 0041 const QDBusConnection &connection, 0042 QObject *parent = nullptr); 0043 0044 ~OrgFreedesktopModemManager1ModemModem3gppUssdInterface() override; 0045 0046 Q_PROPERTY(QString NetworkNotification READ networkNotification) 0047 inline QString networkNotification() const 0048 { 0049 return qvariant_cast<QString>(property("NetworkNotification")); 0050 } 0051 0052 Q_PROPERTY(QString NetworkRequest READ networkRequest) 0053 inline QString networkRequest() const 0054 { 0055 return qvariant_cast<QString>(property("NetworkRequest")); 0056 } 0057 0058 Q_PROPERTY(uint State READ state) 0059 inline uint state() const 0060 { 0061 return qvariant_cast<uint>(property("State")); 0062 } 0063 0064 public Q_SLOTS: // METHODS 0065 inline QDBusPendingReply<> Cancel() 0066 { 0067 QList<QVariant> argumentList; 0068 return asyncCallWithArgumentList(QLatin1String("Cancel"), argumentList); 0069 } 0070 0071 inline QDBusPendingReply<QString> Initiate(const QString &command) 0072 { 0073 QList<QVariant> argumentList; 0074 argumentList << QVariant::fromValue(command); 0075 return asyncCallWithArgumentList(QLatin1String("Initiate"), argumentList); 0076 } 0077 0078 inline QDBusPendingReply<QString> Respond(const QString &response) 0079 { 0080 QList<QVariant> argumentList; 0081 argumentList << QVariant::fromValue(response); 0082 return asyncCallWithArgumentList(QLatin1String("Respond"), argumentList); 0083 } 0084 0085 Q_SIGNALS: // SIGNALS 0086 }; 0087 0088 #endif