Do we still need our own implementation of this?
Description
Description
Status | Assigned | Task | ||
---|---|---|---|---|
Open | None | T11555 Requesting changes in Qt | ||
Open | None | T12089 KIO for KF6 | ||
Open | None | T12010 Replace KLocalSocket[Server] in KIO by QLocalSocket[Server] |
Comment Actions
I briefly looked into this. I guess it's doable, but not trivial.
ConnectionBackend in KIO abstracts over KLocalSocket and QTcpSocket which works since KLocalSocket inherits from QTcpSocket. This is not possible with QLocalSocket since that inherits directly from QIODevice.
QAbstractSocket looks like the abstraction we want , but for some reason QLocalSocket does not inherit from QAbstractSocket, which seems weird to me. Maybe we can change that for Qt 6.
Comment Actions
Alternative approach: remove QTCPSocket codepath completely. It was only used for when (K|Q)LocalSocket wasn't supporting Windows. KLocalSocket can then be killed