KIO: improve and export KPasswdServerClient class, the client API for kpasswdserver.

Review Request #129638 - Created Dec. 11, 2016 and submitted

David Faure

I need it in webenginepart to handle authenticationRequired(),
since webengine doesn't use kioslaves.

This commit includes:
- moving the handling of sequence numbers into the class, for convenience and encapsulation
- finishing to document all parameters to the methods
- moving KPasswdServerClient outside of the KIO namespace (since it already has a K prefix, both would look weird)

kpasswdserver is unittested, this is just the client-side API (wrapping dbus calls).

The webenginepart implementation using this class works (for the one host I tested, which requires HTTP auth)

David Faure
David Faure
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit e01af01e7c2f8ee47d607ffadd36e59f6563ce4d by David Faure to branch master.