Commit graph

22 commits

Author SHA1 Message Date
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
Yari Polla
4f45654af6 Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
Devin Lin
5c0fd57600 initialstart: Add first login experience
Adds an experience for users on first login, allowing some basic configuration.

This is separate from a first start wizard, which would run as a separate user with elevated permissions, and include options that an installer would have.
2023-04-01 07:09:57 +00:00
Devin Lin
1dbb1c78f6 Port to Qt6/KF6 2023-03-03 06:01:23 +00:00
Devin Lin
d2b5416513 kded: Add startup settings manager
This adds a new component that manages Plasma Mobile specific configuration on every session startup. It also restores configuration when logged into a desktop session. 

This allows us to remove https://invent.kde.org/plasma-mobile/plasma-phone-settings, as well as configuration that was set in the look and feel. This also gives us an easy way to control configuration upgrade paths, and in the future, add ways for the configuration to easily be reset for debugging purposes.
2023-02-23 16:43:38 +00:00
David Redondo
750d5581ef Revert "Show all headers in qtc6"
There was no consensus for this in Plasma.
This reverts commit c79ca828f3.
2023-01-24 08:51:18 +01:00
Laurent Montel
c79ca828f3 Show all headers in qtc6 2023-01-22 18:30:45 +00:00
Devin Lin
ca671e1992 mmplugin: Cleanup signals 2022-10-23 15:33:47 -04:00
Devin Lin
a219c59a1f dataproviders: Fix mobile provider label 2022-10-23 15:16:46 -04:00
Devin Lin
bca3fb3626 mmplugin: Ensure variables are reset properly 2022-10-23 13:45:29 -04:00
Devin Lin
867dc32df2 mmplugin: Flesh out update signals and behaviour 2022-10-23 12:12:40 -04:00
Devin Lin
31cb248a8a mmplugin: Add support for checking if a SIM is missing 2022-09-12 16:36:19 -04:00
Devin Lin
a2170b4b3c mmplugin: Fix apn added request being true when no sim is inserted 2022-09-11 17:43:54 -04:00
Devin Lin
83790daccd quicksettings/mobiledata: Add warning if APN is not configured 2022-09-09 23:37:15 -04:00
Devin Lin
74285d9261 mmplugin: Check for nullptr 2022-06-23 19:45:47 -04:00
Laurent Montel
401620e365 Fix some qt6 compile errors 2022-04-24 13:44:41 +02:00
Nicolas Fella
6099bf491f Use undeprecated install dirs
Using kde-dev-scripts/kf5/cmakelists_install_vars.pl
2022-04-21 01:27:43 +00:00
Kevin Kofler
7e47315bcb mmplugin: set all connections to not autoconnect on setMobileDataEnabled(false) (#182)
When disabling mobile data, instead of setting the autoconnect flag to
true for the current active connection, set it to false for all
connections without exception. When reenabling mobile data, instead of
looking for a connection with autoconnect set, look for the connection
with the latest last use timestamp, set that one to autoconnect, and
also connect it immediately.

There should not be any connection with autoconnect enabled if mobile
data is disabled, because that makes NetworkManager reconnect it after a
reboot or a modem restart. The autoconnect state on the modem is
apparently lost on reboot.

Also change the SignalIndicator::mobileDataEnabled() getter to account
for the above.

Fixes #182.
2022-03-20 13:59:32 -04:00
Devin Lin
0131710c23 mmplugin: Use NM autoconnect instead of wwanEnabled for mobile data
Add supported function
fix
fix
fix
fix
fix
fix
fix
fix
cleanup
fix
fix
fix
fix
2022-02-12 23:08:23 -05:00
Devin Lin
b323a83add quicksettings: Make mobile data quick setting use NM API directly 2022-02-10 22:50:09 -05:00
Devin Lin
5660a9e016 mmplugin: Fix SIM being reported as locked when no sim is inserted 2022-02-10 22:13:25 -05:00
Devin Lin
58f59e24b9 Move mmplugin to components folder 2021-12-23 11:17:03 -05:00