From c1ddaf4d21429b3dc5b18467a3e4f13904e363ba Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Wed, 26 Jun 2013 17:37:48 +0200 Subject: QNetworkConfiguration: add public member bearerTypeFamily() ... to let the user know whether he is on e.g. Wifi, 2G, 3G or 4G. In most cases, this is what the user wants to know anyhow, while e.g. BearerEVDO or BearerCDMA2000 go into too much detail. Task-number: QTBUG-31828 Change-Id: I244a4473feb40e106cbc08e09afdee07d4ecc8d7 Reviewed-by: Thiago Macieira Reviewed-by: Lorn Potter --- src/network/bearer/qnetworkconfiguration.h | 5 ++++- 1 file changed, 4 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 8809e5526a..8887525a2f 100644 --- a/src/network/bearer/qnetworkconfiguration.h +++ b/src/network/bearer/qnetworkconfiguration.h @@ -99,7 +99,9 @@ public: BearerBluetooth, BearerWiMAX, BearerEVDO, - BearerLTE + BearerLTE, + Bearer3G, + Bearer4G }; StateFlags state() const; @@ -107,6 +109,7 @@ public: Purpose purpose() const; BearerType bearerType() const; + BearerType bearerTypeFamily() const; QString bearerTypeName() const; QString identifier() const; -- cgit v1.2.3