ModemManagerQt

modem3gppinterface.h
1/*
2 * This file was generated by qdbusxml2cpp version 0.7
3 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p modem3gppinterface \
4 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Modem.Modem3gpp.xml
5 *
6 * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
7 *
8 * This is an auto-generated file.
9 * Do not edit! All changes made to it will be lost.
10 */
11
12#ifndef MODEMMANAGERQT_MODEM3GPPINTERFACE_H
13#define MODEMMANAGERQT_MODEM3GPPINTERFACE_H
14
15#include "generictypes.h"
16#include <QDBusAbstractInterface>
17#include <QDBusPendingReply>
18#include <QList>
19#include <QObject>
20#include <QString>
21#include <QVariant>
22
23/*
24 * Proxy class for interface org.freedesktop.ModemManager1.Modem.Modem3gpp
25 */
26class OrgFreedesktopModemManager1ModemModem3gppInterface : public QDBusAbstractInterface
27{
29public:
30 static inline const char *staticInterfaceName()
31#ifdef MMQT_STATIC
32 {
33 return "org.kde.fakemodem.Modem.Modem3gpp";
34 }
35#else
36 {
37 return "org.freedesktop.ModemManager1.Modem.Modem3gpp";
38 }
39#endif
40public:
41 OrgFreedesktopModemManager1ModemModem3gppInterface(const QString &service,
42 const QString &path,
44 QObject *parent = nullptr);
45
46 ~OrgFreedesktopModemManager1ModemModem3gppInterface() override;
47
48 Q_PROPERTY(uint EnabledFacilityLocks READ enabledFacilityLocks)
49 inline uint enabledFacilityLocks() const
50 {
51 return qvariant_cast<uint>(property("EnabledFacilityLocks"));
52 }
53
54 Q_PROPERTY(QString Imei READ imei)
55 inline QString imei() const
56 {
57 return qvariant_cast<QString>(property("Imei"));
58 }
59
60 Q_PROPERTY(QString OperatorCode READ operatorCode)
61 inline QString operatorCode() const
62 {
63 return qvariant_cast<QString>(property("OperatorCode"));
64 }
65
66 Q_PROPERTY(QString OperatorName READ operatorName)
67 inline QString operatorName() const
68 {
69 return qvariant_cast<QString>(property("OperatorName"));
70 }
71
72 Q_PROPERTY(uint RegistrationState READ registrationState)
73 inline uint registrationState() const
74 {
75 return qvariant_cast<uint>(property("RegistrationState"));
76 }
77
78 Q_PROPERTY(uint SubscriptionState READ subscriptionState)
79 inline uint subscriptionState() const
80 {
81 return qvariant_cast<uint>(property("SubscriptionState"));
82 }
83
84public Q_SLOTS: // METHODS
85 inline QDBusPendingReply<> Register(const QString &operator_id)
86 {
87 QList<QVariant> argumentList;
88 argumentList << QVariant::fromValue(operator_id);
89 return asyncCallWithArgumentList(QLatin1String("Register"), argumentList);
90 }
91
93 {
94 QList<QVariant> argumentList;
95 return asyncCallWithArgumentList(QLatin1String("Scan"), argumentList);
96 }
97
98Q_SIGNALS: // SIGNALS
99};
100
101#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 Sat Dec 21 2024 16:59:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.