ModemManagerQt

smsinterface.h
1/*
2 * This file was generated by qdbusxml2cpp version 0.7
3 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p smsinterface \
4 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Sms.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_SMSINTERFACE_H
13#define MODEMMANAGERQT_SMSINTERFACE_H
14
15#include "generictypes.h"
16#include <QByteArray>
17#include <QDBusAbstractInterface>
18#include <QDBusPendingReply>
19#include <QList>
20#include <QObject>
21#include <QString>
22#include <QVariant>
23
24/*
25 * Proxy class for interface org.freedesktop.ModemManager1.Sms
26 */
27class OrgFreedesktopModemManager1SmsInterface : public QDBusAbstractInterface
28{
30public:
31 static inline const char *staticInterfaceName()
32#ifdef MMQT_STATIC
33 {
34 return "org.kde.fakemodem.Sms";
35 }
36#else
37 {
38 return "org.freedesktop.ModemManager1.Sms";
39 }
40#endif
41public:
42 OrgFreedesktopModemManager1SmsInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
43
44 ~OrgFreedesktopModemManager1SmsInterface() override;
45
46 Q_PROPERTY(int SmsClass READ smsClass)
47 inline int smsClass() const
48 {
49 return qvariant_cast<int>(property("Class"));
50 }
51
52 Q_PROPERTY(QByteArray Data READ data)
53 inline QByteArray data() const
54 {
55 return qvariant_cast<QByteArray>(property("Data"));
56 }
57
58 Q_PROPERTY(bool DeliveryReportRequest READ deliveryReportRequest)
59 inline bool deliveryReportRequest() const
60 {
61 return qvariant_cast<bool>(property("DeliveryReportRequest"));
62 }
63
64 Q_PROPERTY(uint DeliveryState READ deliveryState)
65 inline uint deliveryState() const
66 {
67 return qvariant_cast<uint>(property("DeliveryState"));
68 }
69
70 Q_PROPERTY(QString DischargeTimestamp READ dischargeTimestamp)
71 inline QString dischargeTimestamp() const
72 {
73 return qvariant_cast<QString>(property("DischargeTimestamp"));
74 }
75
76 Q_PROPERTY(uint MessageReference READ messageReference)
77 inline uint messageReference() const
78 {
79 return qvariant_cast<uint>(property("MessageReference"));
80 }
81
82 Q_PROPERTY(QString Number READ number)
83 inline QString number() const
84 {
85 return qvariant_cast<QString>(property("Number"));
86 }
87
88 Q_PROPERTY(uint PduType READ pduType)
89 inline uint pduType() const
90 {
91 return qvariant_cast<uint>(property("PduType"));
92 }
93
94 Q_PROPERTY(QString SMSC READ SMSC)
95 inline QString SMSC() const
96 {
97 return qvariant_cast<QString>(property("SMSC"));
98 }
99
100 Q_PROPERTY(uint ServiceCategory READ serviceCategory)
101 inline uint serviceCategory() const
102 {
103 return qvariant_cast<uint>(property("ServiceCategory"));
104 }
105
106 Q_PROPERTY(uint State READ state)
107 inline uint state() const
108 {
109 return qvariant_cast<uint>(property("State"));
110 }
111
112 Q_PROPERTY(uint Storage READ storage)
113 inline uint storage() const
114 {
115 return qvariant_cast<uint>(property("Storage"));
116 }
117
118 Q_PROPERTY(uint TeleserviceId READ teleserviceId)
119 inline uint teleserviceId() const
120 {
121 return qvariant_cast<uint>(property("TeleserviceId"));
122 }
123
124 Q_PROPERTY(QString Text READ text)
125 inline QString text() const
126 {
127 return qvariant_cast<QString>(property("Text"));
128 }
129
130 Q_PROPERTY(QString Timestamp READ timestamp)
131 inline QString timestamp() const
132 {
133 return qvariant_cast<QString>(property("Timestamp"));
134 }
135
136 Q_PROPERTY(ModemManager::ValidityPair Validity READ validity)
137 inline ModemManager::ValidityPair validity() const
138 {
139 return qvariant_cast<ModemManager::ValidityPair>(property("Validity"));
140 }
141
142public Q_SLOTS: // METHODS
143 inline QDBusPendingReply<> Send()
144 {
145 QList<QVariant> argumentList;
146 return asyncCallWithArgumentList(QLatin1String("Send"), argumentList);
147 }
148
149 inline QDBusPendingReply<> Store(uint storage)
150 {
151 QList<QVariant> argumentList;
152 argumentList << QVariant::fromValue(storage);
153 return asyncCallWithArgumentList(QLatin1String("Store"), 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 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.