Commit 5df94ecc authored by Dan Leinir Turthra Jensen's avatar Dan Leinir Turthra Jensen 🌈
Browse files

[WIP] Prettify the Accounts KCM and expand KAccounts integration library

This is a WIP which aims to expand and beautify the KAccounts integration
code and visuals. A great deal of work to be done, but didn't want it just
sitting on my machine (because that's just to scary)

Just the commit message pile for now, also cleanup of that later:

* Rename the job code files to somethingjob (part of larger refactor)
* Also rename the job code itself
* Add a model to expose the list of accounts
* Add a model for exposing the services for a single account
* Fix uipluginsmanager compilation
* Add i18n and jobs to the kaccounts library
* Expose the jobs and models to qml, and simplify plugin to only exposing
* Add self to kcm authors list
* 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)

Differential Revision:
parent ca3d8cd7
......@@ -21,7 +21,7 @@ import QtQuick 2.7
import QtQuick.Layouts 1.11
import QtQuick.Controls 2.0 as Controls
import org.kde.kirigami 2.4 as Kirigami
import org.kde.kaccounts 1.0
import org.kde.kaccounts 1.0 as KAccounts
import org.kde.kcm 1.2
import Ubuntu.OnlineAccounts 0.1 as OA
......@@ -36,6 +36,7 @@ ScrollViewKCM {
icon: model.iconName
label: model.displayName
width: parent.width
height: Kirigami.Units.iconSizes.large + Kirigami.Units.smallSpacing * 2
onClicked: {
var job = jobComponent.createObject(root, { "providerName": providerId })
......@@ -46,7 +47,7 @@ ScrollViewKCM {
Component {
id: jobComponent
CreateAccount {
KAccounts.CreateAccount {
onFinished: kcm.pop()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment