summaryrefslogtreecommitdiff
path: root/daemon/voicecallhandler.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2015-06-18 21:43:37 +0200
committerTomasz Sterna <tomek@xiaoka.com>2015-06-18 21:43:37 +0200
commitb637465ebd3a38926a5c1b0003f4efb8c2345481 (patch)
tree267e391cd1e2e8dfa2b8aa4f7de9a964d762dffd /daemon/voicecallhandler.h
parentabd8c08be5e752b8030dce56801265d0b5d4e8e5 (diff)
isRemoteHeld voice call property support
Diffstat (limited to 'daemon/voicecallhandler.h')
-rw-r--r--daemon/voicecallhandler.h4
1 files changed, 4 insertions, 0 deletions
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;