summaryrefslogtreecommitdiffstats
path: root/telephony/telephonymessage.h
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-03-25 13:28:07 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-03-25 13:28:07 +0000
commit6e0dbd4ae1da3225f62caf17326f08b1a2cb3773 (patch)
tree21d59e94993794dded13f6bf72cc46625ca94433 /telephony/telephonymessage.h
parentc08bb24ce53e7d82eb865808a769a05fc4b49ab7 (diff)
parent5d608a916820a9e2daa2cc33d901ceba8bad5210 (diff)
Merge "libqtappfw: telephony: add onlineChanged signal"
Diffstat (limited to 'telephony/telephonymessage.h')
-rw-r--r--telephony/telephonymessage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/telephony/telephonymessage.h b/telephony/telephonymessage.h
index 87d06a6..0225b64 100644
--- a/telephony/telephonymessage.h
+++ b/telephony/telephonymessage.h
@@ -27,9 +27,11 @@ class TelephonyMessage : public Message
bool isDialingCall() { return m_event ? (this->eventName() == "dialingCall") : false; };
bool isIncomingCall() { return m_event ? (this->eventName() == "incomingCall") : false; };
bool isTerminatedCall() { return (this->eventName() == "terminatedCall"); };
+ bool isOnline() { return (this->eventName() == "online"); };
QString clip() { return m_event_data.find("clip").value().toString(); };
QString colp() { return m_event_data.find("colp").value().toString(); };
QString state() { return m_event_data.find("state").value().toString(); };
+ bool connected() { return m_event_data.find("connected").value().toBool(); };
bool createRequest(QString verb, QString value = "None");
};