24 #ifndef OFONOCALLVOLUME_H 25 #define OFONOCALLVOLUME_H 27 #include <QtCore/QObject> 28 #include "ofonomodeminterface.h" 29 #include "libofono-qt_global.h" 40 Q_PROPERTY(
bool muted READ muted WRITE setMuted NOTIFY mutedChanged)
41 Q_PROPERTY(quint8 speakerVolume READ speakerVolume WRITE setSpeakerVolume NOTIFY speakerVolumeChanged)
42 Q_PROPERTY(quint8 microphoneVolume READ microphoneVolume WRITE setMicrophoneVolume NOTIFY microphoneVolumeChanged)
50 quint8 speakerVolume()
const;
51 quint8 microphoneVolume()
const ;
54 void setMuted(
const bool mute);
55 void setSpeakerVolume(
const quint8 &spvolume);
56 void setMicrophoneVolume(
const quint8 &mpvolume);
59 void mutedChanged(
const bool &muted);
60 void speakerVolumeChanged(
const quint8 &volume);
61 void microphoneVolumeChanged(
const quint8 &mvolume);
62 void setMutedFailed();
63 void setSpeakerVolumeFailed();
64 void setMicrophoneVolumeFailed();
67 void propertyChanged(
const QString& property,
const QVariant& value);
68 void setPropertyFailed(
const QString& property);
72 #endif // OFONOCALLVOLUME_H This class implements a generic modem interface object.
Definition: ofonomodeminterface.h:41
This class is used to access oFono call volume API.
Definition: ofonocallvolume.h:36
SelectionSetting
How the modem object should select a modem.
Definition: ofonomodem.h:68