From b637465ebd3a38926a5c1b0003f4efb8c2345481 Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Thu, 18 Jun 2015 21:43:37 +0200 Subject: isRemoteHeld voice call property support --- daemon/voicecallhandler.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'daemon/voicecallhandler.h') diff --git a/daemon/voicecallhandler.h b/daemon/voicecallhandler.h index fb20ac7..6d671ce 100644 --- a/daemon/voicecallhandler.h +++ b/daemon/voicecallhandler.h @@ -24,6 +24,7 @@ class VoiceCallHandler : public QObject Q_PROPERTY(bool isEmergency READ isEmergency NOTIFY emergencyChanged) Q_PROPERTY(bool isMultiparty READ isMultiparty NOTIFY multipartyChanged) Q_PROPERTY(bool isForwarded READ isForwarded NOTIFY forwardedChanged) + Q_PROPERTY(bool isRemoteHeld READ isRemoteHeld NOTIFY remoteHeldChanged) public: enum VoiceCallStatus { @@ -51,6 +52,7 @@ public: bool isMultiparty() const; bool isEmergency() const; bool isForwarded() const; + bool isRemoteHeld() const; Q_SIGNALS: void error(const QString &error); @@ -61,6 +63,7 @@ Q_SIGNALS: void emergencyChanged(); void multipartyChanged(); void forwardedChanged(); + void remoteHeldChanged(); public Q_SLOTS: void answer(); @@ -81,6 +84,7 @@ protected Q_SLOTS: void onEmergencyChanged(bool isEmergency); void onMultipartyChanged(bool isMultiparty); void onForwardedChanged(bool isForwarded); + void onRemoteHeldChanged(bool isRemoteHeld); private: class VoiceCallHandlerPrivate *d_ptr; -- cgit v1.2.3