ModemManagerQt

siminterface.h
1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -N -m -i ../generictypes.h -p siminterface
4 * /home/devin/kde/src/modemmanager-qt/src/dbus/introspection/org.freedesktop.ModemManager1.Sim.xml
5 *
6 * qdbusxml2cpp is Copyright (C) 2023 The Qt Company Ltd and other contributors.
7 *
8 * This is an auto-generated file.
9 * Do not edit! All changes made to it will be lost.
10 */
11
12#ifndef SIMINTERFACE_H
13#define SIMINTERFACE_H
14
15#include "../generictypes.h"
16#include <QtCore/QByteArray>
17#include <QtCore/QList>
18#include <QtCore/QMap>
19#include <QtCore/QObject>
20#include <QtCore/QString>
21#include <QtCore/QStringList>
22#include <QtCore/QVariant>
23#include <QtDBus/QtDBus>
24
25/*
26 * Proxy class for interface org.freedesktop.ModemManager1.Sim
27 */
28class OrgFreedesktopModemManager1SimInterface : public QDBusAbstractInterface
29{
31public:
32 static inline const char *staticInterfaceName()
33 {
34 return "org.freedesktop.ModemManager1.Sim";
35 }
36
37public:
38 OrgFreedesktopModemManager1SimInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
39
40 ~OrgFreedesktopModemManager1SimInterface();
41
42 Q_PROPERTY(bool Active READ active)
43 inline bool active() const
44 {
45 return qvariant_cast<bool>(property("Active"));
46 }
47
48 Q_PROPERTY(QString Eid READ eid)
49 inline QString eid() const
50 {
51 return qvariant_cast<QString>(property("Eid"));
52 }
53
54 Q_PROPERTY(QStringList EmergencyNumbers READ emergencyNumbers)
55 inline QStringList emergencyNumbers() const
56 {
57 return qvariant_cast<QStringList>(property("EmergencyNumbers"));
58 }
59
60 Q_PROPERTY(uint EsimStatus READ esimStatus)
61 inline uint esimStatus() const
62 {
63 return qvariant_cast<uint>(property("EsimStatus"));
64 }
65
66 Q_PROPERTY(QByteArray Gid1 READ gid1)
67 inline QByteArray gid1() const
68 {
69 return qvariant_cast<QByteArray>(property("Gid1"));
70 }
71
72 Q_PROPERTY(QByteArray Gid2 READ gid2)
73 inline QByteArray gid2() const
74 {
75 return qvariant_cast<QByteArray>(property("Gid2"));
76 }
77
78 Q_PROPERTY(QString Imsi READ imsi)
79 inline QString imsi() const
80 {
81 return qvariant_cast<QString>(property("Imsi"));
82 }
83
84 Q_PROPERTY(QString OperatorIdentifier READ operatorIdentifier)
85 inline QString operatorIdentifier() const
86 {
87 return qvariant_cast<QString>(property("OperatorIdentifier"));
88 }
89
90 Q_PROPERTY(QString OperatorName READ operatorName)
91 inline QString operatorName() const
92 {
93 return qvariant_cast<QString>(property("OperatorName"));
94 }
95
96 Q_PROPERTY(QVariantMap PreferredNetworks READ preferredNetworks)
97 inline QVariantMap preferredNetworks() const
98 {
99 return qvariant_cast<QVariantMap>(property("PreferredNetworks"));
100 }
101
102 Q_PROPERTY(uint Removability READ removability)
103 inline uint removability() const
104 {
105 return qvariant_cast<uint>(property("Removability"));
106 }
107
108 Q_PROPERTY(QString SimIdentifier READ simIdentifier)
109 inline QString simIdentifier() const
110 {
111 return qvariant_cast<QString>(property("SimIdentifier"));
112 }
113
114 Q_PROPERTY(uint SimType READ simType)
115 inline uint simType() const
116 {
117 return qvariant_cast<uint>(property("SimType"));
118 }
119
120public Q_SLOTS: // METHODS
121 inline QDBusPendingReply<> ChangePin(const QString &old_pin, const QString &new_pin)
122 {
123 QList<QVariant> argumentList;
124 argumentList << QVariant::fromValue(old_pin) << QVariant::fromValue(new_pin);
125 return asyncCallWithArgumentList(QStringLiteral("ChangePin"), argumentList);
126 }
127
128 inline QDBusPendingReply<> EnablePin(const QString &pin, bool enabled)
129 {
130 QList<QVariant> argumentList;
131 argumentList << QVariant::fromValue(pin) << QVariant::fromValue(enabled);
132 return asyncCallWithArgumentList(QStringLiteral("EnablePin"), argumentList);
133 }
134
135 inline QDBusPendingReply<> SendPin(const QString &pin)
136 {
137 QList<QVariant> argumentList;
138 argumentList << QVariant::fromValue(pin);
139 return asyncCallWithArgumentList(QStringLiteral("SendPin"), argumentList);
140 }
141
142 inline QDBusPendingReply<> SendPuk(const QString &puk, const QString &pin)
143 {
144 QList<QVariant> argumentList;
145 argumentList << QVariant::fromValue(puk) << QVariant::fromValue(pin);
146 return asyncCallWithArgumentList(QStringLiteral("SendPuk"), argumentList);
147 }
148
149 inline QDBusPendingReply<> SetPreferredNetworks(const QVariantMap &preferred_networks)
150 {
151 QList<QVariant> argumentList;
152 argumentList << QVariant::fromValue(preferred_networks);
153 return asyncCallWithArgumentList(QStringLiteral("SetPreferredNetworks"), argumentList);
154 }
155
156Q_SIGNALS: // SIGNALS
157};
158
159#endif
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args)
QDBusConnection connection() const const
QString path() const const
QString service() const const
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QVariant property(const char *name) const const
QVariant fromValue(T &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:51 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.