Skip to content

Commit

Permalink
Long live QNetworkInformation
Browse files Browse the repository at this point in the history
The plugins are meant to indicate what they do support, meaning users of
QNetworkInformation can choose to not care about which plugin is used
and rather just request what they want.

Task-number: QTBUG-86966
Change-Id: Ie130e1791250ec2a4470e3ba7081d982654af06c
Reviewed-by: Timur Pocheptsov <[email protected]>
Reviewed-by: Edward Welbourne <[email protected]>
  • Loading branch information
Morten242 committed Jan 20, 2021
1 parent 7e7dacc commit 0875626
Show file tree
Hide file tree
Showing 7 changed files with 922 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/network/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#####################################################################

qt_internal_add_module(Network
PLUGIN_TYPES networkaccessbackends
PLUGIN_TYPES networkaccessbackends networkinformationbackends
SOURCES
access/qabstractnetworkcache.cpp access/qabstractnetworkcache.h access/qabstractnetworkcache_p.h
access/qhsts.cpp access/qhsts_p.h
Expand All @@ -30,6 +30,7 @@ qt_internal_add_module(Network
kernel/qhostinfo.cpp kernel/qhostinfo.h kernel/qhostinfo_p.h
kernel/qnetconmonitor_p.h
kernel/qnetworkdatagram.cpp kernel/qnetworkdatagram.h kernel/qnetworkdatagram_p.h
kernel/qnetworkinformation.cpp kernel/qnetworkinformation_p.h kernel/qnetworkinformation.h
kernel/qnetworkinterface.cpp kernel/qnetworkinterface.h kernel/qnetworkinterface_p.h
kernel/qnetworkinterface_unix_p.h
kernel/qnetworkproxy.cpp kernel/qnetworkproxy.h
Expand Down
Loading

0 comments on commit 0875626

Please sign in to comment.