This is a WIP which aims to expand and beautify the KAccounts integration
code and visuals.patch represents an effort which aims to expand, A great deal of work to be donebeautify, but didn't want it justand clean the
sitting on my machine (because that's just to scary)
Just the commit message pile for now,KAccounts integration code and visuals. also cleanup of that later:
* RenameThis builds on the job code files to somethingjob (part of larger refactor)existing work, by adding
* Also renamenew models and new job classes to the job code itselflibrary, and exposing them through
* Add athe QML model to expose the list of accounts
* Add a model for exposing the services for a single accountule, which is used in the KCM as seen in the screenshots below.
New functionality in the library:
* Fix uipluginsmanager compilation* AccountsModel - A model listing what accounts are currently created on a user's system
* Add i18n and jobs to the kaccounts library* ServicesModel - A model listing what services (if any) are available in an account
* Expose the jobs and* ProvidersModel - A models to qml, and simplify plugin to only exposingl listing what providers are available for new accounts
* Add self to kcm authors list* ChangeAccountDisplayNameJob - A job which allows changing the user visible name of an account
* Switch to using our jobs and models in Accounts (and prettify)
* Expand the services page (should probably be AccountDetails now...)
* A tiny bit of work on the add account page (much more to do)RemoveAccountJob - A job which removes an account (and all its credentials)
The QML module has been modified to both include the old names of older jobs, as well as the new, more descriptive names.
As for the KCM, please see the screenshots below for what features have been added and modified (the above code all supports the functionality in the KCM):
List of accounts:
{F8136882}
List of accounts, when there are no accounts:
{F8136884}
The accounts detail page (when clicking an account entry, and there is at least one thing to configure):
{F8147120}
Above, when there are no configurable services:
{F8136887}
Add new account page (with some existing accounts, but no disabled entries as i haven't got any providers that disallow multiple accounts)
{F8145323}
Rename account (also the button to cause this to happen in the background, there)
{F8146951}