Commit graph

15 commits

Author SHA1 Message Date
Devin Lin
2961fa7ea7 kcms/cellularnetwork: Remove unused file
PopupDialog hasn't been used for a long time, usage was replaced by
Kirigami.Dialog, and then by a page.
2024-07-27 14:50:18 +00:00
Devin Lin
eb9509ce68 Remove trailing whitespace 2024-07-26 23:47:44 -04:00
Mr. Athozus
45fa06e3f1 kcms/mobiledata: Move EditProfileDialog to EditProfilePage
As requested in #277 by Devin. I mark this as a draft because there are small issues that need to be fixed, but 75% is working right now.

- [x] Adding connection works
- [x] Loading existing connection works
- [x] Update existing connections works
- [ ] Show updated list of profiles without restarting the kcm
- [ ] Find a way to use that in initial start (because the whole software is going left-to-right, so pushing an edit page to the right might not be intuitive)

I'm still wondering if using checkboxes for 4G/3G/2G might not be better.
2024-06-29 00:48:01 +00:00
Devin Lin
aea30553b1 kcms/mobiledata: Clarify behavior when networkmanager wwanEnabled is off
In NetworkManager, there is a global "wwanEnabled" setting. We do not typically deal with this because toggling it off shuts off cellular in ModemManager (the mobile data toggle just disconnects the connection instead).

Here we ensure that we address the case when "wwanEnabled" is off, and ensure that it's on when mobile data is toggled on. Also remove a check in the SIM page that seemed to depend on it.
2024-02-13 19:49:38 +00:00
Devin Lin
09b3964906 kcms/cellularnetwork: Improve APN selection and available networks 2023-12-16 04:43:55 +00:00
Devin Lin
30262da8a5 kcms/cellularnetwork: Port to qcoro to make it async
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/284
2023-12-14 21:15:39 -08:00
Devin Lin
0aba11af83 kcms/mobiledata: Fix SIM lock page and page margins 2023-11-21 22:07:56 -08:00
ivan tkachenko
22f7d490ba
Revert "Port away from PlasmaCore and PlasmaExtras to Kirigami"
This (partially) reverts commit 127bbdf653.

Only incorrect changes from Kirigami.Units.largeSpacing to
Kirigami.Units.gridUnit are reverted. Only Plasma.Units were buggy.
2023-11-08 21:16:19 +03:00
Yari Polla
e7524d4977 simlockpage: fix typo 2023-10-19 16:12:38 +02:00
Nicolas Fella
a75c95237e Remove import versions from networkmanager imports 2023-09-24 20:47:29 +00:00
Carl Schwan
34877b2226 cellularnetwork-kcm: Port to FormCard 2023-09-22 14:03:44 +00:00
Alexey Andreyev
127bbdf653 Port away from PlasmaCore and PlasmaExtras to Kirigami
See also:

https://pointieststick.com/2023/06/14/call-to-action-easy-porting-opportunity-in-plasma/
2023-07-25 01:13:52 +00:00
Alexander Lohnau
5479e29bd6 Use org.kde.kcmutils instead of org.kde.kcm module
The latter will be removed, because the files were moved to kcmutils
2023-06-06 21:31:58 +02:00
Devin Lin
324889ed8c Fix more cases of Kirigami.Action iconName 2023-05-12 18:48:34 -04:00
Alexander Lohnau
739897e335 Port to kcmutils_add_qml_module 2023-05-06 12:13:12 +02:00