For at least the c++ example, it seems the example code connect call should be at least:
QObject::connect(ns.data(), &NetworkingStatus::statusChanged, [=](NetworkingStatus::Status value) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531380 Title: cannot get network status changes with connectivity-api To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/indicator-network/+bug/1531380/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs