15#include "../generictypes.h"
16#include <QtCore/QByteArray>
17#include <QtCore/QList>
19#include <QtCore/QObject>
20#include <QtCore/QString>
21#include <QtCore/QStringList>
22#include <QtCore/QVariant>
23#include <QtDBus/QtDBus>
32 static inline const char *staticInterfaceName()
34 return "org.freedesktop.ModemManager1.Sim";
40 ~OrgFreedesktopModemManager1SimInterface();
43 inline bool active()
const
45 return qvariant_cast<bool>(
property(
"Active"));
49 inline QString eid()
const
51 return qvariant_cast<QString>(
property(
"Eid"));
54 Q_PROPERTY(QStringList EmergencyNumbers READ emergencyNumbers)
55 inline QStringList emergencyNumbers()
const
57 return qvariant_cast<QStringList>(
property(
"EmergencyNumbers"));
61 inline uint esimStatus()
const
63 return qvariant_cast<uint>(
property(
"EsimStatus"));
67 inline QByteArray gid1()
const
69 return qvariant_cast<QByteArray>(
property(
"Gid1"));
73 inline QByteArray gid2()
const
75 return qvariant_cast<QByteArray>(
property(
"Gid2"));
79 inline QString imsi()
const
81 return qvariant_cast<QString>(
property(
"Imsi"));
84 Q_PROPERTY(QString OperatorIdentifier READ operatorIdentifier)
85 inline QString operatorIdentifier()
const
87 return qvariant_cast<QString>(
property(
"OperatorIdentifier"));
90 Q_PROPERTY(QString OperatorName READ operatorName)
91 inline QString operatorName()
const
93 return qvariant_cast<QString>(
property(
"OperatorName"));
96 Q_PROPERTY(QVariantMap PreferredNetworks READ preferredNetworks)
97 inline QVariantMap preferredNetworks()
const
99 return qvariant_cast<QVariantMap>(
property(
"PreferredNetworks"));
102 Q_PROPERTY(uint Removability READ removability)
103 inline uint removability()
const
105 return qvariant_cast<uint>(
property(
"Removability"));
108 Q_PROPERTY(QString SimIdentifier READ simIdentifier)
109 inline QString simIdentifier()
const
111 return qvariant_cast<QString>(
property(
"SimIdentifier"));
115 inline uint simType()
const
117 return qvariant_cast<uint>(
property(
"SimType"));
121 inline QDBusPendingReply<> ChangePin(
const QString &old_pin,
const QString &new_pin)
123 QList<QVariant> argumentList;
128 inline QDBusPendingReply<> EnablePin(
const QString &pin,
bool enabled)
130 QList<QVariant> argumentList;
135 inline QDBusPendingReply<> SendPin(
const QString &pin)
137 QList<QVariant> argumentList;
142 inline QDBusPendingReply<> SendPuk(
const QString &puk,
const QString &pin)
144 QList<QVariant> argumentList;
149 inline QDBusPendingReply<> SetPreferredNetworks(
const QVariantMap &preferred_networks)
151 QList<QVariant> argumentList;
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args)
QDBusConnection connection() const const
QString path() const const
QString service() const const
QObject * parent() const const
QVariant property(const char *name) const const
QVariant fromValue(T &&value)