mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
dtmf tones
This commit is contained in:
parent
b669fa97a0
commit
8842d19dd0
2 changed files with 3 additions and 1 deletions
|
|
@ -28,7 +28,6 @@ Item {
|
||||||
id: dialer
|
id: dialer
|
||||||
|
|
||||||
property color textColor: "white"
|
property color textColor: "white"
|
||||||
property bool enableButtons: calling
|
|
||||||
property alias numberEntryText: status.text
|
property alias numberEntryText: status.text
|
||||||
|
|
||||||
property string providerId: voiceCallmanager.providers.id(0)
|
property string providerId: voiceCallmanager.providers.id(0)
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@ Text {
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
onPressed: voiceCallmanager.startDtmfTone(parent.text);
|
||||||
|
onReleased: voiceCallmanager.stopDtmfTone();
|
||||||
|
onCanceled: voiceCallmanager.stopDtmfTone();
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback();
|
callback();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue