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)
26 Q_PROPERTY(QString DischargeTimestamp READ dischargeTimestamp)
27 Q_PROPERTY(uint MessageReference READ messageReference)
31 Q_PROPERTY(uint ServiceCategory READ serviceCategory)
34 Q_PROPERTY(uint TeleserviceId READ teleserviceId)
37 Q_PROPERTY(ModemManager::ValidityPair Validity READ validity)
40 QByteArray data() const;
41 bool deliveryReportRequest() const;
42 uint deliveryState() const;
43 QString dischargeTimestamp() const;
44 uint messageReference() const;
45 QString number() const;
48 uint serviceCategory() const;
51 uint teleserviceId() const;
53 QString timestamp() const;
54 ModemManager::ValidityPair validity() const;
57 QString smsPath() const;
58 void setSmsPath(const QString &path);
59 void setEnableNotifications(
bool enable);
60 void setSmsClass(
int smsClass);
61 void setData(const QByteArray &data);
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;
88 QString m_dischargeTimestamp;
89 uint m_messageReference;
93 uint m_serviceCategory;
99 ModemManager::ValidityPair m_validity;
QObject * parent() const const