mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 17:54:45 +00:00
how the window when the phone is ringing
This commit is contained in:
parent
fc047fd462
commit
2081b4d628
1 changed files with 9 additions and 0 deletions
|
|
@ -37,6 +37,15 @@ ApplicationWindow {
|
||||||
property int status: voiceCallmanager.activeVoiceCall ? voiceCallmanager.activeVoiceCall.status : 0
|
property int status: voiceCallmanager.activeVoiceCall ? voiceCallmanager.activeVoiceCall.status : 0
|
||||||
//END PROPERTIES
|
//END PROPERTIES
|
||||||
|
|
||||||
|
//BEGIN SIGNAL HANDLERS
|
||||||
|
onStatusChanged: {
|
||||||
|
//STATUS_INCOMING
|
||||||
|
if (status == 5) {
|
||||||
|
root.visible = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//END SIGNAL HANDLERS
|
||||||
|
|
||||||
//BEGIN MODELS
|
//BEGIN MODELS
|
||||||
OfonoManager {
|
OfonoManager {
|
||||||
id: ofonoManager
|
id: ofonoManager
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue