diff options
author | Peter Hartmann <phartmann@blackberry.com> | 2013-06-26 17:37:48 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-28 23:05:57 +0200 |
commit | c1ddaf4d21429b3dc5b18467a3e4f13904e363ba (patch) | |
tree | 01f4369376de27ea24403e2e1ab2a209aae0cef7 /src/network/bearer/qnetworkconfiguration.h | |
parent | be35b70ca1bf61d022f7dee9df4aaccbf715b25e (diff) | |
download | qtbase-c1ddaf4d21429b3dc5b18467a3e4f13904e363ba.tar.gz |
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 <thiago.macieira@intel.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Diffstat (limited to 'src/network/bearer/qnetworkconfiguration.h')
-rw-r--r-- | src/network/bearer/qnetworkconfiguration.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; |