24#ifndef OFONOMODEMINTERFACE_H
25#define OFONOMODEMINTERFACE_H
27#include <QtCore/QObject>
29#include "ofonomodem.h"
30#include "ofonopropertysetting.h"
31#include "libofono-qt_global.h"
45 Q_PROPERTY(
bool isValid READ isValid NOTIFY validityChanged)
46 Q_PROPERTY(QString path READ path)
47 Q_PROPERTY(QString errorName READ errorName)
48 Q_PROPERTY(QString errorMessage READ errorMessage)
102 bool checkValidity();
103 void updateValidity();
106 void modemValidityChanged(
bool validity);
107 void interfacesChanged(
const QStringList &interfaces);
110 OfonoInterface *m_if;
This class implements a generic modem interface object.
Definition ofonomodeminterface.h:42
bool isValid() const
Check that the modem interface object is valid.
QString errorMessage() const
Get the D-Bus error message of the last operation.
void validityChanged(bool validity)
Interface validity has changed.
OfonoModem * modem() const
Get the modem object that this interface belongs to.
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.
This class is used to access an oFono modem object and its properties.
Definition ofonomodem.h:41
SelectionSetting
How the modem object should select a modem.
Definition ofonomodem.h:68