diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-03 17:10:18 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-03 17:10:18 +0100 |
commit | 54c3e5912b0d64bad5a1c66bc96f0552ac5e21f5 (patch) | |
tree | 65b511dc68bd327d59cc320b04cb077a0a52e014 /applications/kube-mail/package/contents/ui/Settings.qml | |
parent | 7bc71c84a91d980f46bc042731ee903cef591031 (diff) | |
download | kube-54c3e5912b0d64bad5a1c66bc96f0552ac5e21f5.tar.gz kube-54c3e5912b0d64bad5a1c66bc96f0552ac5e21f5.zip |
Install a qml plugin for the maildir account
This works and allows us to register other controllers and action
handlers, but it's not yet clear to me whether we should rather be
using kpackage for this as well (and I failed to get it to run, so,
here we are...)
Diffstat (limited to 'applications/kube-mail/package/contents/ui/Settings.qml')
-rw-r--r-- | applications/kube-mail/package/contents/ui/Settings.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/kube-mail/package/contents/ui/Settings.qml b/applications/kube-mail/package/contents/ui/Settings.qml index 34755df0..a3ea32f0 100644 --- a/applications/kube-mail/package/contents/ui/Settings.qml +++ b/applications/kube-mail/package/contents/ui/Settings.qml | |||
@@ -20,6 +20,7 @@ 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.kde.kube.settings 1.0 as KubeSettings |
23 | import org.kde.kube.accounts.maildir 1.0 as Maildir | ||
23 | 24 | ||
24 | Rectangle { | 25 | Rectangle { |
25 | id: root | 26 | id: root |
@@ -60,7 +61,7 @@ Rectangle { | |||
60 | spacing: 5 | 61 | spacing: 5 |
61 | Repeater { | 62 | Repeater { |
62 | model: ["current"] //Get from context settings | 63 | model: ["current"] //Get from context settings |
63 | delegate: MaildirAccountSettings { //This should be retrieved from the accounts plugin: KubeAccounts { identifier: modelData }.settingsUi | 64 | delegate: Maildir.AccountSettings { //This should be retrieved from the accounts plugin: KubeAccounts { identifier: modelData }.settingsUi |
64 | accountId: modelData | 65 | accountId: modelData |
65 | accountName: "Maildir" | 66 | accountName: "Maildir" |
66 | } | 67 | } |