25#ifndef OFONOCELLBROADCAST_H
26#define OFONOCELLBROADCAST_H
28#include <QtCore/QObject>
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)
54 ~OfonoCellBroadcast();
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);
QString errorMessage() const
Get the D-Bus error message of the last operation.
OfonoModemInterface(OfonoModem::SelectionSetting modemSetting, const QString &modemPath, const QString &ifname, OfonoGetPropertySetting propertySetting, QObject *parent=0)
Construct a modem interface object.
QString errorName() const
Get the D-Bus error name of the last operation.
QString path() const
Returns the D-Bus object path of the interface.
SelectionSetting
How the modem object should select a modem.
Definition ofonomodem.h:68