diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-10 11:57:08 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-10 11:57:08 +0100 |
commit | 9bfadc71a4fb694ae3946711d04acdfe009264c0 (patch) | |
tree | 883c944c166e8b31862ba2a898ab6aed1944b0aa /accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | |
parent | d0617d0ad6926c250e29d1a40db93733fa911e5d (diff) | |
download | kube-9bfadc71a4fb694ae3946711d04acdfe009264c0.tar.gz kube-9bfadc71a4fb694ae3946711d04acdfe009264c0.zip |
A factory to load account plugins.
Diffstat (limited to 'accounts/maildir/package/contents/ui/MaildirAccountSettings.qml')
-rw-r--r-- | accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml index 77cf739f..a2564500 100644 --- a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml +++ b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | |||
@@ -19,14 +19,18 @@ import QtQuick 2.4 | |||
19 | import QtQuick.Controls 1.4 | 19 | import QtQuick.Controls 1.4 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | 21 | ||
22 | import org.kde.kube.settings 1.0 as KubeSettings | 22 | import org.kube.framework.settings 1.0 as KubeSettings |
23 | import org.kde.kube.accounts.maildir 1.0 as MaildirAccount | 23 | import org.kde.kube.accounts.maildir 1.0 as MaildirAccount |
24 | import org.kube.components 1.0 as KubeComponents | ||
24 | 25 | ||
25 | Rectangle { | 26 | Rectangle { |
26 | id: root | 27 | id: root |
27 | property string accountId | 28 | property string accountId |
28 | property string accountName: "Maildir" | 29 | property string accountName: "Maildir" |
29 | 30 | ||
31 | KubeComponents.ColorPalette { | ||
32 | id: colorPalette | ||
33 | } | ||
30 | color: colorPalette.background | 34 | color: colorPalette.background |
31 | 35 | ||
32 | GridLayout { | 36 | GridLayout { |
@@ -82,7 +86,7 @@ Rectangle { | |||
82 | 86 | ||
83 | KubeSettings.Settings { | 87 | KubeSettings.Settings { |
84 | id: accountSettings | 88 | id: accountSettings |
85 | identifier: "account." + modelData | 89 | identifier: "account." + accountId |
86 | property string primaryIdentity: "current" | 90 | property string primaryIdentity: "current" |
87 | } | 91 | } |
88 | KubeSettings.Settings { | 92 | KubeSettings.Settings { |