summaryrefslogtreecommitdiff
path: root/daemon/voicecallmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/voicecallmanager.cpp')
-rw-r--r--daemon/voicecallmanager.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/daemon/voicecallmanager.cpp b/daemon/voicecallmanager.cpp
index ac03b51..9fd4339 100644
--- a/daemon/voicecallmanager.cpp
+++ b/daemon/voicecallmanager.cpp
@@ -148,6 +148,13 @@ void VoiceCallManager::dial(const QString &provider, const QString &msisdn)
QObject::connect(watcher, SIGNAL(finished(QDBusPendingCallWatcher*)), SLOT(onPendingCallFinished(QDBusPendingCallWatcher*)));
}
+void VoiceCallManager::hangupAll()
+{
+ foreach (VoiceCallHandler* handler, voiceCalls()) {
+ handler->hangup();
+ }
+}
+
void VoiceCallManager::silenceRingtone()
{
Q_D(const VoiceCallManager);