Comment 6 for bug 1384776

Revision history for this message
Lorn Potter (lorn-potter) wrote :

QNAM uses QtBearer, which means those are handled by the NetworkManager backend, which I am currently trying to fix up.

There are two ways of diserning online status with QtNetwork.

1) QNetworkConfigurationManager has isOnline() method, this can be done on the defaultConfiguration().

2) QNetworkConfigurationManager has allConfigurations which can take an argument of
QNetworkConfiguration::Active which will give a list of all active (online) configurations.

Both of which are a bit heavy if only being used for discovering online status.