25 #ifndef OFONOCELLBROADCAST_H 26 #define OFONOCELLBROADCAST_H 28 #include <QtCore/QObject> 30 #include <QStringList> 32 #include "ofonomodeminterface.h" 33 #include "libofono-qt_global.h" 45 Q_PROPERTY(QString path READ path)
46 Q_PROPERTY(QString errorName READ errorName)
47 Q_PROPERTY(QString errorMessage READ errorMessage)
49 Q_PROPERTY(
bool powered READ powered WRITE setPowered NOTIFY powerChanged)
50 Q_PROPERTY(QString topics READ topics NOTIFY topicsChanged)
59 void setPowered(
bool b);
60 QString topics()
const;
61 void setTopics(
const QString &)
const;
66 void powerChanged(
bool);
67 void topicsChanged(
const QString &);
68 void incomingBroadcast(
const QString &, quint16);
69 void emergencyBroadcast(
const QString &,
const QVariantMap &);
74 void propertyChanged(
const QString& property,
const QVariant& value);
75 void inBroadcast(
const QString &message, quint16 channel);
76 void emBroadcast(
const QString &message,
const QVariantMap &properties);
80 #endif // OFONOCELLBROADCAST_H QString path() const
Returns the D-Bus object path of the interface.
This class implements a generic modem interface object.
Definition: ofonomodeminterface.h:41
QString errorName() const
Get the D-Bus error name of the last operation.
SelectionSetting
How the modem object should select a modem.
Definition: ofonomodem.h:68
QString errorMessage() const
Get the D-Bus error message of the last operation.
This class is used to access oFono cell broadcast API.
Definition: ofonocellbroadcast.h:41