D14835: Use NetworkManager::DeviceStatistics instead of Plasma data engine
Alexander Volkov
noreply at phabricator.kde.org
Tue Aug 14 15:09:05 BST 2018
volkov created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
volkov requested review of this revision.
REVISION SUMMARY
It's more correct to get information about devices from a single
source, i.e. from NetworkManager. Besides it allows to show the
total number of received/transmitted bytes instead of the current
speed, which is more useful for the user. The current speed can
still be seen on the graph.
This change requires NetworkManagerQt 5.50, because of the fixed
DevicesStatistics::setRefreshRateMs().
REPOSITORY
R116 Plasma Network Management Applet
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D14835
AFFECTED FILES
CMakeLists.txt
applet/contents/ui/ConnectionItem.qml
applet/contents/ui/TrafficMonitor.qml
libs/models/networkmodel.cpp
libs/models/networkmodel.h
libs/models/networkmodelitem.cpp
libs/models/networkmodelitem.h
To: volkov
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180814/7d31cf8b/attachment-0001.html>
More information about the Plasma-devel
mailing list