From 687f002352a02f190591c10fded61b2e566f521e Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Fri, 7 Jun 2013 14:59:39 +0200 Subject: BlackBerry QNetworkConfiguration: Keep track of bearer type I.e. let the user know whether he is on 2G / 3G / 4G. Since usually apps are rather interested whether they are on Wifi or cellular, change of cellular type (i.e. transition from 3G to 4G etc.) will not trigger emission of the "QNetworkConfigurationManager::configurationChanged" signal. The cellular type check will only be performed if the user queries it by calling the respective member methods (bearerType() and bearerTypeName()). Reading the cellular type takes around 1-2 milliseconds. In addition, add new fields "BearerEVDO" and "BearerLTE" to the public API for QNetworkConfiguration. Change-Id: I4c4ec52926f862b84487c91a88b1e20e590dd793 Reviewed-by: Kevin Krammer Reviewed-by: Friedemann Kleint Reviewed-by: Thomas McGuire --- src/network/bearer/qnetworkconfiguration.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/network/bearer/qnetworkconfiguration.h') diff --git a/src/network/bearer/qnetworkconfiguration.h b/src/network/bearer/qnetworkconfiguration.h index 25dafcb282..8809e5526a 100644 --- a/src/network/bearer/qnetworkconfiguration.h +++ b/src/network/bearer/qnetworkconfiguration.h @@ -97,7 +97,9 @@ public: BearerWCDMA, BearerHSPA, BearerBluetooth, - BearerWiMAX + BearerWiMAX, + BearerEVDO, + BearerLTE }; StateFlags state() const; -- cgit v1.2.1