7#ifndef MODEMMANAGERQT_FAKE_MODEM_SMS_H
8#define MODEMMANAGERQT_FAKE_MODEM_SMS_H
10#include "generictypes.h"
17 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.fakemodem.Sms")
24 Q_PROPERTY(
bool DeliveryReportRequest READ deliveryReportRequest)
25 Q_PROPERTY(uint DeliveryState READ deliveryState)
27 Q_PROPERTY(uint MessageReference READ messageReference)
31 Q_PROPERTY(uint ServiceCategory READ serviceCategory)
34 Q_PROPERTY(uint TeleserviceId READ teleserviceId)
41 bool deliveryReportRequest() const;
42 uint deliveryState() const;
43 QString dischargeTimestamp() const;
44 uint messageReference() const;
48 uint serviceCategory() const;
51 uint teleserviceId() const;
58 void setSmsPath(const
QString &path);
59 void setEnableNotifications(
bool enable);
60 void setSmsClass(
int smsClass);
62 void setDeliveryReportRequest(
bool deliveryReportRequest);
63 void setDeliveryState(uint state);
64 void setDischargeTimestamp(const
QString ×tamp);
65 void setMessageReference(uint messageReference);
66 void setNumber(const
QString &number);
67 void setPduType(uint pduType);
68 void setSMSC(const
QString &smsc);
69 void setServiceCategory(uint serviceCategory);
70 void setState(uint state);
71 void setStorage(uint storage);
72 void setTeleserviceId(uint teleserviceId);
73 void setText(const
QString &text);
74 void setTimestamp(const
QString ×tamp);
75 void setValidity(const
ModemManager::ValidityPair &validity);
78 Q_SCRIPTABLE
void Send();
79 Q_SCRIPTABLE
void Store(uint storage);
83 bool m_enabledNotifications;
86 bool m_deliveryReportRequest;
89 uint m_messageReference;
93 uint m_serviceCategory;
This namespace allows to query the underlying system to discover the available modem interfaces respo...
QObject * parent() const const