ModemManagerQt

signalinterface.h
1/*
2 * This file was generated by qdbusxml2cpp version 0.7
3 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p signalinterface \
4 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Modem.Signal.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_SIGNALINTERFACE_H
13#define MODEMMANAGERQT_SIGNALINTERFACE_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.Signal
25 */
26class OrgFreedesktopModemManager1ModemSignalInterface : public QDBusAbstractInterface
27{
29public:
30 static inline const char *staticInterfaceName()
31#ifdef MMQT_STATIC
32 {
33 return "org.kde.fakemodem.Modem.Signal";
34 }
35#else
36 {
37 return "org.freedesktop.ModemManager1.Modem.Signal";
38 }
39#endif
40public:
41 OrgFreedesktopModemManager1ModemSignalInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
42
43 ~OrgFreedesktopModemManager1ModemSignalInterface() override;
44
45 Q_PROPERTY(QVariantMap Cdma READ cdma)
46 inline QVariantMap cdma() const
47 {
48 return qvariant_cast<QVariantMap>(property("Cdma"));
49 }
50
51 Q_PROPERTY(QVariantMap Evdo READ evdo)
52 inline QVariantMap evdo() const
53 {
54 return qvariant_cast<QVariantMap>(property("Evdo"));
55 }
56
57 Q_PROPERTY(QVariantMap Gsm READ gsm)
58 inline QVariantMap gsm() const
59 {
60 return qvariant_cast<QVariantMap>(property("Gsm"));
61 }
62
63 Q_PROPERTY(QVariantMap Lte READ lte)
64 inline QVariantMap lte() const
65 {
66 return qvariant_cast<QVariantMap>(property("Lte"));
67 }
68
69 Q_PROPERTY(uint Rate READ rate)
70 inline uint rate() const
71 {
72 return qvariant_cast<uint>(property("Rate"));
73 }
74
75 Q_PROPERTY(QVariantMap Umts READ umts)
76 inline QVariantMap umts() const
77 {
78 return qvariant_cast<QVariantMap>(property("Umts"));
79 }
80
81public Q_SLOTS: // METHODS
82 inline QDBusPendingReply<> Setup(uint rate)
83 {
84 QList<QVariant> argumentList;
85 argumentList << QVariant::fromValue(rate);
86 return asyncCallWithArgumentList(QLatin1String("Setup"), argumentList);
87 }
88
89Q_SIGNALS: // SIGNALS
90};
91
92#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 Mon Nov 18 2024 12:15:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.