Den 22. jan. 2014 17:18, skrev Julius Loman:
Hi

this is for sure a beginners question, but I hope somebody can help me to sort
it out. I want to listen to connman dbus events to determine connection changes
(I'm interested in receiving signal as soon as device connects to particular
WLAN network).

Using some examples I was able to capture dbus events on my KDE desktop (albeit
not connman related), but same code for SailfishOS does nothing. I guess my
understanding of Dbus or QtBus is bad :)

Here is my piece of code:

I don't think the signature of your propertyChanged slot is correct.

Apparently, the connman technology API is described here:

http://git.kernel.org/cgit/network/connman/connman.git/tree/doc/technology-api.txt?id=HEAD

You can see in there that PropertyChanged takes a string and a variant (which presumably maps to QString and QVariant), not a D-Bus object path.

_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to