Move KIO QML bindings to KIO
Closed, ResolvedPublic

Related Objects

vkrause created this task.Sep 12 2019, 9:28 AM
ognarb added a subscriber: ognarb.Oct 19 2021, 3:39 PM

For KUriFilterData/webshortcuts, we have this in NeoChat https://invent.kde.org/network/neochat/-/blob/master/src/webshortcutmodel.cpp https://invent.kde.org/network/neochat/-/blob/master/src/webshortcutmodel.h. That might be interesting, it's LGPL2 and already using d-pointers. The only issue is that it's no-op on Android because we can't use KIO on android.

alex moved this task from Backlog to Needs Input on the KF6 board.Oct 29 2021, 4:53 AM
alex added a subscriber: alex.Oct 29 2021, 7:57 AM

Not sure if this is even needed anymore with T12119

For KUriFilterData/webshortcuts, we have this in NeoChat https://invent.kde.org/network/neochat/-/blob/master/src/webshortcutmodel.cpp https://invent.kde.org/network/neochat/-/blob/master/src/webshortcutmodel.h. That might be interesting, it's LGPL2 and already using d-pointers. The only issue is that it's no-op on Android because we can't use KIO on android.

Discover has a similar need (https://invent.kde.org/plasma/discover/-/merge_requests/185#note_324027), and it would be nice to not have to duplicate all this code there.

alex added a comment.Oct 29 2021, 5:14 PM

Good to know, if we were to add this in KF5 we would indeed need to move it to KIO itself in KF6.

alex added a comment.Oct 30 2021, 2:18 PM

Or one could register it under a different URI and just put in KIO during KF5 ;)

alex claimed this task.Dec 7 2021, 4:21 PM
alex closed this task as Resolved.

Marking as resolved since the existing bindings for KRun got deprecated