View Single Post
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#20
To follow up my own question: I just noticed PhoneHook uses the empty string as service, whereas I used org.nemomobile.voicecall. According to the Qt documentation: "The arguments service and path can be empty, denoting a connection to any signal of the (interface, name) pair, from any remote application."

So, I tried to use

Code:
DBusInterface {
    id:              activeCall
    service:         ''
    path:            '/calls/active'
    iface:           'org.nemomobile.voicecall.VoiceCall'
    signalsEnabled:  true

    function lineIdChanged() {
        console.log("Got: " + activeCall.getProperty("lineId"));
    }
}
but this didn't seem to make a difference.

Also, DBusInterface has an undocumented property watchServiceStatus. This however seems irrelevant, as the service org.nemomobile.voicecall is already available, just not the /calls/active path.
 

The Following User Says Thank You to Fuzzillogic For This Useful Post: