12#ifndef MODEMMANAGERQT_SMSINTERFACE_H
13#define MODEMMANAGERQT_SMSINTERFACE_H
15#include "generictypes.h"
17#include <QDBusAbstractInterface>
18#include <QDBusPendingReply>
31 static inline const char *staticInterfaceName()
34 return "org.kde.fakemodem.Sms";
38 return "org.freedesktop.ModemManager1.Sms";
44 ~OrgFreedesktopModemManager1SmsInterface()
override;
47 inline int smsClass()
const
49 return qvariant_cast<int>(
property(
"Class"));
55 return qvariant_cast<QByteArray>(
property(
"Data"));
58 Q_PROPERTY(
bool DeliveryReportRequest READ deliveryReportRequest)
59 inline bool deliveryReportRequest()
const
61 return qvariant_cast<bool>(
property(
"DeliveryReportRequest"));
64 Q_PROPERTY(uint DeliveryState READ deliveryState)
65 inline uint deliveryState()
const
67 return qvariant_cast<uint>(
property(
"DeliveryState"));
71 inline QString dischargeTimestamp()
const
73 return qvariant_cast<QString>(
property(
"DischargeTimestamp"));
76 Q_PROPERTY(uint MessageReference READ messageReference)
77 inline uint messageReference()
const
79 return qvariant_cast<uint>(
property(
"MessageReference"));
85 return qvariant_cast<QString>(
property(
"Number"));
89 inline uint pduType()
const
91 return qvariant_cast<uint>(
property(
"PduType"));
97 return qvariant_cast<QString>(
property(
"SMSC"));
100 Q_PROPERTY(uint ServiceCategory READ serviceCategory)
101 inline uint serviceCategory()
const
103 return qvariant_cast<uint>(
property(
"ServiceCategory"));
107 inline uint state()
const
109 return qvariant_cast<uint>(
property(
"State"));
113 inline uint storage()
const
115 return qvariant_cast<uint>(
property(
"Storage"));
118 Q_PROPERTY(uint TeleserviceId READ teleserviceId)
119 inline uint teleserviceId()
const
121 return qvariant_cast<uint>(
property(
"TeleserviceId"));
127 return qvariant_cast<QString>(
property(
"Text"));
131 inline QString timestamp()
const
133 return qvariant_cast<QString>(
property(
"Timestamp"));
136 Q_PROPERTY(ModemManager::ValidityPair Validity READ validity)
137 inline ModemManager::ValidityPair validity()
const
139 return qvariant_cast<ModemManager::ValidityPair>(
property(
"Validity"));
QDBusPendingCall asyncCallWithArgumentList(const QString &method, const QList< QVariant > &args)
QDBusConnection connection() const const
QString path() const const
QString service() const const
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.