File indexing completed on 2024-04-28 03:59:48

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 <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.Modem.Modem3gpp.Ussd
0025  */
0026 class OrgFreedesktopModemManager1ModemModem3gppUssdInterface : public QDBusAbstractInterface
0027 {
0028     Q_OBJECT
0029 public:
0030     static inline const char *staticInterfaceName()
0031 #ifdef MMQT_STATIC
0032     {
0033         return "org.kde.fakemodem.Modem.Modem3gpp.Ussd";
0034     }
0035 #else
0036     {
0037         return "org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd";
0038     }
0039 #endif
0040 public:
0041     OrgFreedesktopModemManager1ModemModem3gppUssdInterface(const QString &service,
0042                                                            const QString &path,
0043                                                            const QDBusConnection &connection,
0044                                                            QObject *parent = nullptr);
0045 
0046     ~OrgFreedesktopModemManager1ModemModem3gppUssdInterface() override;
0047 
0048     Q_PROPERTY(QString NetworkNotification READ networkNotification)
0049     inline QString networkNotification() const
0050     {
0051         return qvariant_cast<QString>(property("NetworkNotification"));
0052     }
0053 
0054     Q_PROPERTY(QString NetworkRequest READ networkRequest)
0055     inline QString networkRequest() const
0056     {
0057         return qvariant_cast<QString>(property("NetworkRequest"));
0058     }
0059 
0060     Q_PROPERTY(uint State READ state)
0061     inline uint state() const
0062     {
0063         return qvariant_cast<uint>(property("State"));
0064     }
0065 
0066 public Q_SLOTS: // METHODS
0067     inline QDBusPendingReply<> Cancel()
0068     {
0069         QList<QVariant> argumentList;
0070         return asyncCallWithArgumentList(QLatin1String("Cancel"), argumentList);
0071     }
0072 
0073     inline QDBusPendingReply<QString> Initiate(const QString &command)
0074     {
0075         QList<QVariant> argumentList;
0076         argumentList << QVariant::fromValue(command);
0077         return asyncCallWithArgumentList(QLatin1String("Initiate"), argumentList);
0078     }
0079 
0080     inline QDBusPendingReply<QString> Respond(const QString &response)
0081     {
0082         QList<QVariant> argumentList;
0083         argumentList << QVariant::fromValue(response);
0084         return asyncCallWithArgumentList(QLatin1String("Respond"), argumentList);
0085     }
0086 
0087 Q_SIGNALS: // SIGNALS
0088 };
0089 
0090 #endif