diff options
author | Gatis Paeglis <gatis.paeglis@digia.com> | 2014-03-17 10:52:24 +0100 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@digia.com> | 2014-03-18 17:05:07 +0200 |
commit | 9767def438c4265319c3eef99e0531ee5164054e (patch) | |
tree | 5cbc1a577689f263477da549aae39cc530f92a68 /src/imports/wifi/wifi.pro | |
parent | cb7775bf6eac1140cb40131efe87cb9fbc9b78ba (diff) |
Rename misleading class name
The API is:
ListView {
model: wifiManager.networks
}
currently if user calls print(wifiManager.networks) it will print:
QWifiNetworkList
The docs of ListView states that model property expects a subclass
of QAbstractListModel. QWifiNetworkList sounds like a subclass of
QList which is misleading.
This patch renames the class to QWifiNetworkListModel. This does not
change the public API (doesn't brake compatibility in any way), just
improves the documentation of library.
Task-number: QTEE-445
Change-Id: I71f07cb22617f3a7f41a0403d1c63c4357310325
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'src/imports/wifi/wifi.pro')
-rw-r--r-- | src/imports/wifi/wifi.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/wifi/wifi.pro b/src/imports/wifi/wifi.pro index 0231479..b920978 100644 --- a/src/imports/wifi/wifi.pro +++ b/src/imports/wifi/wifi.pro @@ -8,12 +8,12 @@ SOURCES += \ pluginmain.cpp \ qwifimanager.cpp \ qwifinetwork.cpp \ - qwifinetworklist.cpp + qwifinetworklistmodel.cpp HEADERS += \ qwifimanager.h \ qwifinetwork.h \ - qwifinetworklist.h + qwifinetworklistmodel.h LIBS += -lhardware_legacy -lcutils |