summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2021-10-21 12:18:41 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2021-10-22 09:40:45 +0200
commit5f8e9c194e06b7a886cb69b24a37b62ab23c79a8 (patch)
tree62038b1b8090874f1c3d4c6e9d8adca4a797251e /tests/manual
parenta43dd9a6b1b1218a4c39943ba349416265ab8c68 (diff)
QNI: Add supportedFeatures getter
Which just returns all the supported features Change-Id: I8c3996b00a6ebb114bdbc9db3085a0e27fc8fa79 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/qnetworkinformation/tst_qnetworkinformation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/qnetworkinformation/tst_qnetworkinformation.cpp b/tests/manual/qnetworkinformation/tst_qnetworkinformation.cpp
index ec6ce99de4..e38ff7494f 100644
--- a/tests/manual/qnetworkinformation/tst_qnetworkinformation.cpp
+++ b/tests/manual/qnetworkinformation/tst_qnetworkinformation.cpp
@@ -55,6 +55,7 @@ int main(int argc, char **argv)
}
QNetworkInformation *info = QNetworkInformation::instance();
qDebug() << "Backend loaded:" << info->backendName();
+ qDebug() << "Supports:" << info->supportedFeatures();
qDebug() << "Now you can make changes to the current network connection. Qt should see the "
"changes and notify about it.";
QObject::connect(info, &QNetworkInformation::reachabilityChanged,