summaryrefslogtreecommitdiffstats
path: root/tests/manual/qnetworkconfiguration/qnetworkconfiguration.pro
diff options
context:
space:
mode:
authorPeter Hartmann <phartmann@blackberry.com>2013-06-07 14:59:39 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-24 15:09:06 +0200
commit687f002352a02f190591c10fded61b2e566f521e (patch)
tree756dd32914bfb1dc74ddad7ecfd705834e281b55 /tests/manual/qnetworkconfiguration/qnetworkconfiguration.pro
parent5defb3a36a3a9d71eaefd27a910b23b2fcd65c77 (diff)
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 <kevin.krammer@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Diffstat (limited to 'tests/manual/qnetworkconfiguration/qnetworkconfiguration.pro')
-rw-r--r--tests/manual/qnetworkconfiguration/qnetworkconfiguration.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/manual/qnetworkconfiguration/qnetworkconfiguration.pro b/tests/manual/qnetworkconfiguration/qnetworkconfiguration.pro
new file mode 100644
index 0000000000..25ef41b92a
--- /dev/null
+++ b/tests/manual/qnetworkconfiguration/qnetworkconfiguration.pro
@@ -0,0 +1,7 @@
+TEMPLATE = app
+TARGET = tst_qnetworkconfiguration
+
+QT -= gui
+QT += network testlib
+
+SOURCES += main.cpp