ModemManagerQt

modemcdmainterface.h
1/*
2 * This file was generated by qdbusxml2cpp version 0.7
3 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p modemcdmainterface \
4 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Modem.ModemCdma.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_MODEMCDMAINTERFACE_H
13#define MODEMMANAGERQT_MODEMCDMAINTERFACE_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.ModemCdma
25 */
26class OrgFreedesktopModemManager1ModemModemCdmaInterface : public QDBusAbstractInterface
27{
29public:
30 static inline const char *staticInterfaceName()
31#ifdef MMQT_STATIC
32 {
33 return "org.kde.fakemodem.Modem.ModemCdma";
34 }
35#else
36 {
37 return "org.freedesktop.ModemManager1.Modem.ModemCdma";
38 }
39#endif
40public:
41 OrgFreedesktopModemManager1ModemModemCdmaInterface(const QString &service,
42 const QString &path,
44 QObject *parent = nullptr);
45
46 ~OrgFreedesktopModemManager1ModemModemCdmaInterface() override;
47
48 Q_PROPERTY(uint ActivationState READ activationState)
49 inline uint activationState() const
50 {
51 return qvariant_cast<uint>(property("ActivationState"));
52 }
53
54 Q_PROPERTY(uint Cdma1xRegistrationState READ cdma1xRegistrationState)
55 inline uint cdma1xRegistrationState() const
56 {
57 return qvariant_cast<uint>(property("Cdma1xRegistrationState"));
58 }
59
60 Q_PROPERTY(QString Esn READ esn)
61 inline QString esn() const
62 {
63 return qvariant_cast<QString>(property("Esn"));
64 }
65
66 Q_PROPERTY(uint EvdoRegistrationState READ evdoRegistrationState)
67 inline uint evdoRegistrationState() const
68 {
69 return qvariant_cast<uint>(property("EvdoRegistrationState"));
70 }
71
72 Q_PROPERTY(QString Meid READ meid)
73 inline QString meid() const
74 {
75 return qvariant_cast<QString>(property("Meid"));
76 }
77
78 Q_PROPERTY(uint Nid READ nid)
79 inline uint nid() const
80 {
81 return qvariant_cast<uint>(property("Nid"));
82 }
83
84 Q_PROPERTY(uint Sid READ sid)
85 inline uint sid() const
86 {
87 return qvariant_cast<uint>(property("Sid"));
88 }
89
90public Q_SLOTS: // METHODS
91 inline QDBusPendingReply<> Activate(const QString &carrier_code)
92 {
93 QList<QVariant> argumentList;
94 argumentList << QVariant::fromValue(carrier_code);
95 return asyncCallWithArgumentList(QLatin1String("Activate"), argumentList);
96 }
97
98 inline QDBusPendingReply<> ActivateManual(const QVariantMap &properties)
99 {
100 QList<QVariant> argumentList;
101 argumentList << QVariant::fromValue(properties);
102 return asyncCallWithArgumentList(QLatin1String("ActivateManual"), argumentList);
103 }
104
105Q_SIGNALS: // SIGNALS
106 void ActivationStateChanged(uint activation_state, uint activation_error, const QVariantMap &status_changes);
107};
108
109#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 Fri Nov 22 2024 12:07:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.