Commit graph

7 commits

Author SHA1 Message Date
Ivailo Monev
6f03a3127c kutils: typo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-27 03:09:25 +03:00
Ivailo Monev
450120097d kdeui: reimplement KNotification
cleaning up the mess, everything but KNotificationConfigWidget is
implemented.

not only does it not require additional D-Bus service (knotify) to
function but also does not transmit pixmaps over D-Bus, the features
to execute command or log to file are dropped and will not be
implemented.

also about markup support in notifications - if the server does not
support markup then it is supposed to strip it, see the spec:
https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html#backwards-compat
meaning nothing should be done by KNotification itself because it is not
a server, it is just a proxy.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-25 09:01:39 +03:00
Ivailo Monev
f6e2452250 kutils: remove unused QMap header inclusion in kded_knetworkmanager header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-10 00:08:14 +03:00
Ivailo Monev
0e4eaac7f3 kutils: new knetworkmanager KDED module method
here is how to use it:
```
qdbus-katie org.kde.kded /modules/knetworkmanager enable false
qdbus-katie org.kde.kded /modules/knetworkmanager enable true
```

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 03:39:44 +03:00
Ivailo Monev
fb9ec68452 kutils: new KNetworkManager::IntermediateStatus enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 00:31:01 +03:00
Ivailo Monev
95e1e05f5d kutils: sync the disconnected status notification text
to match the one used in kutils/knetworkmanager/kded/knetworkmanager.notifyrc

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 23:16:27 +03:00
Ivailo Monev
3fdb845769 kutils: multi-backend knetworkmanager implementation
essentially moving my code from the old networkstatus module, see the
following commits in the kde-workspace repo:
809b90a113bb559a94266464e03cba6f0ed197ae
c46a5297cc49bf4f19f81ee109833fb0abab9a99
3e01d82f44bf587251455368f7502e9e4e204176

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 21:10:54 +03:00