summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qnetworkinformation.h
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2021-10-21 13:07:33 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2021-10-22 09:40:49 +0200
commitbfe579613a12efe13be35b1a52975dddeb0d8026 (patch)
treea8d3431d449060e1e3fd17dde258c2fddffe0521 /src/network/kernel/qnetworkinformation.h
parent5f8e9c194e06b7a886cb69b24a37b62ab23c79a8 (diff)
QNI: Add a convenience method for loading the default plugin
We have some official plugins, we may as well treat them as default and give a convenient function which loads those. Change-Id: I6251c77ac042b795bcf24b86e510e960ee4bab54 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/kernel/qnetworkinformation.h')
-rw-r--r--src/network/kernel/qnetworkinformation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/kernel/qnetworkinformation.h b/src/network/kernel/qnetworkinformation.h
index febf5bbc8f..e280894fef 100644
--- a/src/network/kernel/qnetworkinformation.h
+++ b/src/network/kernel/qnetworkinformation.h
@@ -96,6 +96,7 @@ public:
bool supports(Features features) const;
Features supportedFeatures() const;
+ static bool load();
static bool load(QStringView backend);
static bool load(Features features);
static QStringList availableBackends();