summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix dynamic interface handlingPasi Petäjäjärvi2022-06-152-8/+3
| | | | | | | | | Properly add/remove interface/technology when either physically added/removed or disable with connman Change-Id: I8d527c60a0e9218e3ae01ba6a685e067182622c1 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> (cherry picked from commit 694effb2afc14961cd9cbda56da6fa6e1e07c607)
* Fix crash when unplugging/plugging ethernet cablePasi Petäjäjärvi2022-05-191-2/+4
| | | | | | | | | | | | | We do not remove the ethernet service (network) when cable is disconnected. Instead it's "hold in place" via placeholder but that is not checked and plugging cable back will cause crash. Fixes: QTBUG-103327 Change-Id: If14a4f28217ba5883dbc23ba42a1e91b004b7d58 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> (cherry picked from commit 26b002e1388d197772b56d471a6dd6ecc4ab2509) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Export TimezoneItemPasi Petäjäjärvi2022-05-171-1/+1
| | | | | | | | | Currently TimezoneModel cannot be used as TimezoneItem symbols are not exported. Fixes: QTBUG-81929 Change-Id: I6d42aa1565d876d46fe3ba00519062e3a393ad29 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Do not leak QNetworkSettingsService instances for unnamed networksRobert Griebl2021-12-032-22/+63
| | | | | | | | | | | | | | | | | | | For unnamed/hidden networks, a QNetworkSettingsService object was allocated every time connman reported these networks via its ServicesChanged signal. Depending on the system setup, this could happen as often as every 30sec. We now track these objects in m_unnamedServices and m_unknownServices to avoid those re-allocations. Also fixed a potential dangling pointer being returned from current{Wifi,Wired}Connection() Fixes: QTBUG-94864 Change-Id: I0a217b1bd334073cc6621397ad09ce6a98776ab1 Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> (cherry picked from commit b80655d9ec266155e3719d91c17ed69e81a3a103) Reviewed-by: Janne Juntunen <janne.juntunen@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Fix servicesChanged() signal not being sentJanne Juntunen2021-12-021-1/+5
| | | | | | | | | | | | Added servicesChanged() signal emitting when QNetworkSettingsManager notices that an existing wireless access point has disappeared. This functionality was missing previously. Fixes: QTBUG-90574 Change-Id: I21c22d2fe30daa980db0db90419fdd4051add29d Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> (cherry picked from commit c3888262bfbc9f21614cee21976d4d9522547785) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* new menu item for usb ethernet protocol selectionRami Potinkara2020-07-156-81/+357
| | | | | | | Task-number: QTBUG-83011 Change-Id: I8098ef26c9fa42cdf301145937eca011365d6f19 Pick-to: 5.15 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Doc: Override generated include statementPaul Wicking2020-06-301-0/+2
| | | | | | | | | | | | | Specify the containing header file with the \inheaderfile QDoc command. Fixes: QTBUG-81742 Change-Id: I15421748f2b5da636e4dbf9734720d0a82ecece2 Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit be3c1e5ccba6622d54178f768a4b5b07503ac32c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Override generated include statementPaul Wicking2020-06-301-0/+1
| | | | | | | | | | | | | Specify the containing header file with the \inheaderfile QDoc command. Fixes: QTBUG-81741 Change-Id: I31b3d4b410877a0c8e28fea0603a14e0ba0148ad Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 0c643218572d65fde3a9ad8c6e119d5837893e5f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Change NTP setting synchronouslySamuli Piippo2020-05-121-1/+1
| | | | | | | | | | | | | Changing both NTP and Time may lead to error: Error org.freedesktop.timedate1.AutomaticTimeSyncEnabled: Previous request is not finished, refusing. Make sure we finish NTP request before attempting to set Time. Task-number: QTBUG-80721 Change-Id: I97c945b4ad4eeed6b077e7843ba061784592c299 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Fix time zone selectionSamuli Piippo2020-05-121-0/+1
| | | | | | | | | | Set initial index to invalid to correctly map TimeManager.timeZone to the model index, otherwize index 0 was always used for the time zone when switching views. Task-number: QTBUG-80721 Change-Id: Ia242bbde9706e8771ffa9a630fdd8e50ed7ff1e2 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Use function syntax for ConnectionSamuli Piippo2020-05-127-10/+10
| | | | | | | Implicitly defined onFoo properties in Connections are deprecated. Change-Id: I973a363437df27e0d7ad12e08991b211d62357dd Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* fix incomplete QPainterPathMikko Gronoff2020-03-121-0/+1
| | | | | | | | Fix error: aggregate 'QPainterPath path' has incomplete type and cannot be defined Change-Id: I2f169fa0a5d0def2f9cc485270905b4395738def Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Merge remote-tracking branch 'origin/5.13' into 5.14Mikko Gronoff2019-10-091-1/+1
|\ | | | | | | | | | | | | | | * origin/5.13: fad870b Merge remote-tracking branch 'origin/5.12' into 5.13 39772d9 Fix static ip address showing after reconnection Change-Id: I48a3f8ef1c787c37ae9c1fa0373ef9c797fd21df
| * Merge remote-tracking branch 'origin/5.12' into 5.13Mikko Gronoff2019-10-081-1/+1
| |\ | | | | | | | | | | | | | | | | | | * origin/5.12: 39772d9 Fix static ip address showing after reconnection Change-Id: I534bd8b4877893750fb902238bb8ff44394b8286
| | * Fix static ip address showing after reconnectionTeemu Holappa2019-10-081-1/+1
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-76224 Change-Id: I2684941df342c2a9ee0439a2e13a8894dd862965 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* | | Fix compiler warnings in network settingsTeemu Holappa2019-10-081-4/+3
|/ / | | | | | | | | Change-Id: I4dbcb432c404bdb167a986390aa90c1092f88593 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Mikko Gronoff2019-10-0316-2201/+1
|\ \ | |/ | | | | | | | | | | * origin/5.12: 330b6f0 Drop wpa_supplicant from NetworkSettings Change-Id: I593834799c5ca47be3bf5d37378e3ccb8a334aed
| * Drop wpa_supplicant from NetworkSettingsAssam Boudjelthia2019-10-0216-2201/+1
| | | | | | | | | | | | | | | | | | wpa_supplicant is broken and have not been in use for several Qt releases, thus it's being dropped. Fixes: QTBUG-78442 Change-Id: Ia3645b54b22a2959b7f65fdec10b8beaa262ea1f Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Doc: Fix documentation warningsTopi Reinio2019-09-121-2/+1
| | | | | | | | | | | | | | No such QDoc command '\readwrite', plus minor language editing. Change-Id: I4b385343a51e95be42dcbf27c4b1b30793a9c6da Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Add unit of measurement to the display sizeSamuli Piippo2019-08-131-1/+1
| | | | | | | | | | Change-Id: If599542c4b0d5d0b1d9a3788e4468a6a5fcf68c9 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Add an example snippet to Network settings manager classTarja Sundqvist2019-08-071-1/+41
| | | | | | | | | | | | | | | | | | The NetworkSettingsManager class documentation is updated with an example code snippet. Task-number: QTBUG-76810 Change-Id: Ic02109332281357c941dec77fe2995988cbc9359 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-08-032-9/+7
|\ \ | |/ | | | | Change-Id: I040ffc2c6edfb8115aa43da738e326a758117cc8
| * Set service type to NetworkSettingsType.Wired in onServiceChangedAssam Boudjelthia2019-07-301-2/+3
| | | | | | | | | | | | | | | | | | | | In WiredSettings.qml, onServiceChanged was being executed over and over while the correct service type was not being set before that. Fixes: QTBUG-71341 Change-Id: I15a097fbb14acfb4ab18ff3541689e296f3ea84c Reviewed-by: Jani Launonen <jani.launonen@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
| * Remove duplicate nested isValid() conditionAssam Boudjelthia2019-07-301-7/+4
| | | | | | | | | | | | | | | | | | The if condition is duplicated in QNetworkSettingsServiceFilter::filterAcceptsRow() Change-Id: Ie93044cc11421c4a6247cc2e511c04036b2f625b Reviewed-by: Jani Launonen <jani.launonen@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-07-273-1/+50
|\ \ | |/ | | | | Change-Id: Ieccf7c09a854bd3b84dd5c7d0fe97df867da7ea5
| * Add missing settings properties of viewSettings and appFontAssam Boudjelthia2019-07-243-1/+50
| | | | | | | | | | | | | | | | | | Those properties make SettingsUI dependent on qtlauncher, thus the need to add the necessary values here. Fixes: QTBUG-68987 Change-Id: I8d194317af341048a5b3607e8b796947fb60bff6 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Implement network auto connection propertyKari Hormi2019-06-204-9/+33
| | | | | | | | | | | | Task-number: QTBUG-76537 Change-Id: I9388854a65706c643de2f184e6e680458af7bc1e Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* | Implement setAutoConnect() functionKari Hormi2019-06-194-3/+16
|/ | | | | | | | | | This commit strictly implements the setAutoConnect function, but does not provide anything else. AutoConnect status query should still be implemented. Task-number: QTBUG-75729 Change-Id: I73e7ba9efe7c4efe6e46810c3efe054473f0a7e2 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* Fix documentation build warningTarja Sundqvist2019-03-203-3/+51
| | | | | | | | Some build warnings fixed. The documentation was built with Qt 5.9. Change-Id: I8f988c1267a6a6ed925cfac1f0cd40547ffc8160 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Fix the list of linked Device Utilities modulesTarja Sundqvist2019-03-1826-131/+274
| | | | | | | | | | | All Device Utilities modules are listed in the main page. Also All C++ classes / All QML Types pages added. Task-number: QTBUG-74231 Change-Id: Ia6b091e6d136b844c36de94f8fafa0bb7b199777 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Enable boot2qt launcher automatic demo modeSami Nurmenniemi2019-02-042-0/+2
| | | | | | | Task-number: QTBUG-72852 Change-Id: I0e134e76721e73721a8318534bbaa12d68c92ca7 Reviewed-by: Tuomas Heimonen <tuomas.heimonen@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Doc: Fix help contents in Qt CreatorLeena Miettinen2018-12-101-9/+9
| | | | | | | | | The QML Types and Examples links were missing in the Contents view in the Qt Creator Help mode. Change-Id: Ib0555364f19c2e859d5da9f80fa22b2d932c8d92 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Display: fix padding on the TextFieldsSamuli Piippo2018-11-271-0/+8
| | | | | | | | Without the padding, the text was partially covered by the background rectangle. Change-Id: Ic5f6d60a5ff1256f89a911edf41a831e3d53a793 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Update RegionSelect filter box appearanceSamuli Piippo2018-11-121-2/+6
| | | | | | | | | Make the text field appear more like the guidelines suggests. Without the padding, the text was partially covered by the background rectangle. Change-Id: Iece9990b2f8caa36bd947157ba8314a08aea3592 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Fix combobox selection areaSamuli Piippo2018-11-122-12/+11
| | | | | | | | | Extend the touch area to cover whole compobox width. Also with QTBUG-49224 now fixed, previous workaround can be removed. Change-Id: Iabf784ec91fac839da19a3615a6977a99e532a40 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* wifi: enable manual connect only when wifi is enabledSamuli Piippo2018-11-081-0/+6
| | | | | | | | | Gray out and disable manual wifi connect and disconnect buttons when wifi is not enabled. Enable disconnect button only when connected to a wifi. Change-Id: I275d3660f20689bb25dc477211a3540df073c270 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Fix language filter textfiledSamuli Piippo2018-11-081-21/+16
| | | | | | | | | Place holder text should be white, and remove unncessary row layout that caused layout problems when virtual keyboard was shown. Change-Id: I94c38de9fa04d1a60dc36bc79123ed3dc7244d7d Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Enable usage of LocaleManager.localeSamuli Piippo2018-11-083-6/+3
| | | | | | | | | This reverts commit ddb14d59252c451a3ceb6271d9579c902cf6bdd2. Change-Id: I7a7068ba208be539362387e618972396d46e5b6a Fixes: QTBUG-70539 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Remove call to non-existing functionSamuli Piippo2018-11-081-1/+0
| | | | | | | | refreshIP was removed previously Change-Id: If7a5ea67f277eeebbb774afaa9f608d02494cdef Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* Merge remote-tracking branch 'origin/5.11' into 5.12Mikko Gronoff2018-11-011-5/+7
|\ | | | | | | | | | | | | | | * origin/5.11: 069c88b Fix manual proxy configuration on the C++ side bbf0e42 Fix the name of the proxy URL property Change-Id: If7521f05aac2817565b887481507ab27de09ce9c
| * Fix manual proxy configuration on the C++ sideVille Voutilainen2018-11-011-4/+6
| | | | | | | | | | Change-Id: I702ae14b749e03a6cc96a982a9e7dad6f562a8a2 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
| * Fix the name of the proxy URL propertyVille Voutilainen2018-10-261-1/+1
| | | | | | | | | | Change-Id: I070538b9e7cafd4a79128280c05ca2503a539858 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Mikko Gronoff2018-10-252-1/+1
|\ \ | |/ | | | | | | | | | | | | * origin/5.11: 6e316ce Doc: Fix typo in file name 36dc731 Doc: Fix landing page title Change-Id: I72348c7037b53d5996a862adfbd6677fa331bd68
| * Doc: Fix typo in file nameTopi Reinio2018-10-241-0/+0
| | | | | | | | | | | | | | qtdeviceutitilies-module-cpp.qdoc -> qtdeviceutilities-module-cpp.qdoc Change-Id: Ic9727ac2b532ac7d33b026655b2af98a5ff4d25c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| * Doc: Fix landing page titleTopi Reinio2018-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 261e4c6 exposed a problem with the landing page by modifying its HTML filename: Landing page has a different title than what's defined in qtdeviceutilities.qdocconf. Until 261e4c6, the TOC was built corrently because the default index filename (index.html) was correct. Fix the landing page title using the provided macro '\maintitle'. Task-number: QTBUG-71198 Change-Id: I37d219d24e8d0395517f75c230942b3733ce31aa Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Add support for dynamically add/remove physical network interfacesPasi Petäjäjärvi2018-10-257-3/+67
| | | | | | | | | | Change-Id: I1690ce5f4b71c1faf14002a9389ca7b5f2b5665d Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Mikko Gronoff2018-10-1528-131/+1841
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/5.11: 261e4c6 Doc: Add documentation for C++ classes 0ecd391 Fix ip address tracking and display Commit 0ecd391 originally cherry-picked from 5.12 branch, hence few bogus conflicts in qnetworksettingsmanager.cpp. Conflicts: src/networksettings/qnetworksettingsinterfacemodel.cpp src/networksettings/qnetworksettingsmanager.cpp Change-Id: Ib8007ffc55ba935da42209303f637b51bad3ab1d
| * Doc: Add documentation for C++ classesLeena Miettinen2018-10-1528-131/+1841
| | | | | | | | | | | | | | | | | | Currently, only QML types are documented. Task-number: QTBUG-69686 Change-Id: Idc13bff25a154e88c6c769c0af37204573ec1118 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
| * Fix ip address tracking and displayVille Voutilainen2018-08-316-53/+53
| | | | | | | | | | | | | | Task-number: QTBUG-69814 Change-Id: Ifc90871c11aeddd1d07c5f1feb2a4292f0d36463 Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> (cherry picked from commit 65b663a9be5d27cbb77b48f9e392c9463416383a)
* | Doc: Remove typoPaul Wicking2018-09-051-1/+1
| | | | | | | | | | | | | | | | | | Remove a trailing 'QAbstractItemModel' which is (likely) the result of an accidental paste. Change-Id: I34ae39128fdf5d23b3d27e45d6e62613cbe54015 Fixes: QTBUG-69688 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>