On Thu, 2020-05-14 at 09:03 +0200, Thomas Tanghus wrote: > On Thursday, 14 May 2020 08.37 Pekka Vuorela wrote: > > Alternative is to switch to other methods, e.g. dbus-send or more > > specific command line tools. Mcetool for example can tell the > > battery > > state among other things. > > Just to be sure: The QML ContextProperty will not go away? > > I use something like this in my apps: > > QtObject { > property bool isOnline: state.value === 'connected' > property ContextProperty state: ContextProperty { > // `cat /run/state/namespaces/Internet/NetworkState` > key: 'Internet.NetworkState' > } > }
Yep, no changes there. _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org