[interactiveconsole] Port KIO code to new connect syntax
Summary: It was previously using the old style due to getting downcast too early
Test Plan: Compiles
Reviewers: Plasma, sitter
Reviewed By: sitter
Subscribers: plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D22840