From 54c3e5912b0d64bad5a1c66bc96f0552ac5e21f5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 3 Mar 2016 17:10:18 +0100 Subject: 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...) --- applications/kube-mail/package/contents/ui/Settings.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'applications/kube-mail/package/contents/ui/Settings.qml') 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 import QtQuick.Layouts 1.1 import org.kde.kube.settings 1.0 as KubeSettings +import org.kde.kube.accounts.maildir 1.0 as Maildir Rectangle { id: root @@ -60,7 +61,7 @@ Rectangle { spacing: 5 Repeater { model: ["current"] //Get from context settings - delegate: MaildirAccountSettings { //This should be retrieved from the accounts plugin: KubeAccounts { identifier: modelData }.settingsUi + delegate: Maildir.AccountSettings { //This should be retrieved from the accounts plugin: KubeAccounts { identifier: modelData }.settingsUi accountId: modelData accountName: "Maildir" } -- cgit v1.2.3