File indexing completed on 2024-04-28 03:59:48
0001 /* 0002 * This file was generated by qdbusxml2cpp version 0.8 0003 * Command line was: qdbusxml2cpp -N -m -i ../generictypes.h -p siminterface 0004 * /home/devin/kde/src/modemmanager-qt/src/dbus/introspection/org.freedesktop.ModemManager1.Sim.xml 0005 * 0006 * qdbusxml2cpp is Copyright (C) 2023 The Qt Company Ltd and other contributors. 0007 * 0008 * This is an auto-generated file. 0009 * Do not edit! All changes made to it will be lost. 0010 */ 0011 0012 #ifndef SIMINTERFACE_H 0013 #define SIMINTERFACE_H 0014 0015 #include "../generictypes.h" 0016 #include <QtCore/QByteArray> 0017 #include <QtCore/QList> 0018 #include <QtCore/QMap> 0019 #include <QtCore/QObject> 0020 #include <QtCore/QString> 0021 #include <QtCore/QStringList> 0022 #include <QtCore/QVariant> 0023 #include <QtDBus/QtDBus> 0024 0025 /* 0026 * Proxy class for interface org.freedesktop.ModemManager1.Sim 0027 */ 0028 class OrgFreedesktopModemManager1SimInterface : public QDBusAbstractInterface 0029 { 0030 Q_OBJECT 0031 public: 0032 static inline const char *staticInterfaceName() 0033 { 0034 return "org.freedesktop.ModemManager1.Sim"; 0035 } 0036 0037 public: 0038 OrgFreedesktopModemManager1SimInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); 0039 0040 ~OrgFreedesktopModemManager1SimInterface(); 0041 0042 Q_PROPERTY(bool Active READ active) 0043 inline bool active() const 0044 { 0045 return qvariant_cast<bool>(property("Active")); 0046 } 0047 0048 Q_PROPERTY(QString Eid READ eid) 0049 inline QString eid() const 0050 { 0051 return qvariant_cast<QString>(property("Eid")); 0052 } 0053 0054 Q_PROPERTY(QStringList EmergencyNumbers READ emergencyNumbers) 0055 inline QStringList emergencyNumbers() const 0056 { 0057 return qvariant_cast<QStringList>(property("EmergencyNumbers")); 0058 } 0059 0060 Q_PROPERTY(uint EsimStatus READ esimStatus) 0061 inline uint esimStatus() const 0062 { 0063 return qvariant_cast<uint>(property("EsimStatus")); 0064 } 0065 0066 Q_PROPERTY(QByteArray Gid1 READ gid1) 0067 inline QByteArray gid1() const 0068 { 0069 return qvariant_cast<QByteArray>(property("Gid1")); 0070 } 0071 0072 Q_PROPERTY(QByteArray Gid2 READ gid2) 0073 inline QByteArray gid2() const 0074 { 0075 return qvariant_cast<QByteArray>(property("Gid2")); 0076 } 0077 0078 Q_PROPERTY(QString Imsi READ imsi) 0079 inline QString imsi() const 0080 { 0081 return qvariant_cast<QString>(property("Imsi")); 0082 } 0083 0084 Q_PROPERTY(QString OperatorIdentifier READ operatorIdentifier) 0085 inline QString operatorIdentifier() const 0086 { 0087 return qvariant_cast<QString>(property("OperatorIdentifier")); 0088 } 0089 0090 Q_PROPERTY(QString OperatorName READ operatorName) 0091 inline QString operatorName() const 0092 { 0093 return qvariant_cast<QString>(property("OperatorName")); 0094 } 0095 0096 Q_PROPERTY(QVariantMap PreferredNetworks READ preferredNetworks) 0097 inline QVariantMap preferredNetworks() const 0098 { 0099 return qvariant_cast<QVariantMap>(property("PreferredNetworks")); 0100 } 0101 0102 Q_PROPERTY(uint Removability READ removability) 0103 inline uint removability() const 0104 { 0105 return qvariant_cast<uint>(property("Removability")); 0106 } 0107 0108 Q_PROPERTY(QString SimIdentifier READ simIdentifier) 0109 inline QString simIdentifier() const 0110 { 0111 return qvariant_cast<QString>(property("SimIdentifier")); 0112 } 0113 0114 Q_PROPERTY(uint SimType READ simType) 0115 inline uint simType() const 0116 { 0117 return qvariant_cast<uint>(property("SimType")); 0118 } 0119 0120 public Q_SLOTS: // METHODS 0121 inline QDBusPendingReply<> ChangePin(const QString &old_pin, const QString &new_pin) 0122 { 0123 QList<QVariant> argumentList; 0124 argumentList << QVariant::fromValue(old_pin) << QVariant::fromValue(new_pin); 0125 return asyncCallWithArgumentList(QStringLiteral("ChangePin"), argumentList); 0126 } 0127 0128 inline QDBusPendingReply<> EnablePin(const QString &pin, bool enabled) 0129 { 0130 QList<QVariant> argumentList; 0131 argumentList << QVariant::fromValue(pin) << QVariant::fromValue(enabled); 0132 return asyncCallWithArgumentList(QStringLiteral("EnablePin"), argumentList); 0133 } 0134 0135 inline QDBusPendingReply<> SendPin(const QString &pin) 0136 { 0137 QList<QVariant> argumentList; 0138 argumentList << QVariant::fromValue(pin); 0139 return asyncCallWithArgumentList(QStringLiteral("SendPin"), argumentList); 0140 } 0141 0142 inline QDBusPendingReply<> SendPuk(const QString &puk, const QString &pin) 0143 { 0144 QList<QVariant> argumentList; 0145 argumentList << QVariant::fromValue(puk) << QVariant::fromValue(pin); 0146 return asyncCallWithArgumentList(QStringLiteral("SendPuk"), argumentList); 0147 } 0148 0149 inline QDBusPendingReply<> SetPreferredNetworks(const QVariantMap &preferred_networks) 0150 { 0151 QList<QVariant> argumentList; 0152 argumentList << QVariant::fromValue(preferred_networks); 0153 return asyncCallWithArgumentList(QStringLiteral("SetPreferredNetworks"), argumentList); 0154 } 0155 0156 Q_SIGNALS: // SIGNALS 0157 }; 0158 0159 #endif