diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-03-09 16:20:21 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-03-09 16:20:21 +0100 |
commit | 24843b835f2ce2b4cb83bae9c0653267a24b894d (patch) | |
tree | af27f3038682188145f2bd04bf23cd04f7416e72 | |
parent | 03ae386b327c093a30e0b6cc36061837c9040aca (diff) | |
download | kube-24843b835f2ce2b4cb83bae9c0653267a24b894d.tar.gz kube-24843b835f2ce2b4cb83bae9c0653267a24b894d.zip |
import as Mail -> import as KubeFramework
-rw-r--r-- | components/package/contents/ui/Composer.qml | 8 | ||||
-rw-r--r-- | components/package/contents/ui/FolderListView.qml | 6 | ||||
-rw-r--r-- | components/package/contents/ui/MailListView.qml | 4 | ||||
-rw-r--r-- | components/package/contents/ui/MailViewer.qml | 4 | ||||
-rw-r--r-- | components/package/contents/ui/SingleMailView.qml | 4 |
5 files changed, 13 insertions, 13 deletions
diff --git a/components/package/contents/ui/Composer.qml b/components/package/contents/ui/Composer.qml index b64d64db..6f085a63 100644 --- a/components/package/contents/ui/Composer.qml +++ b/components/package/contents/ui/Composer.qml | |||
@@ -20,7 +20,7 @@ import QtQuick.Controls 1.4 | |||
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | import org.kde.plasma.components 2.0 as PlasmaComponents | 21 | import org.kde.plasma.components 2.0 as PlasmaComponents |
22 | 22 | ||
23 | import org.kube.framework.domain 1.0 as Mail | 23 | import org.kube.framework.domain 1.0 as KubeFramework |
24 | 24 | ||
25 | 25 | ||
26 | Item { | 26 | Item { |
@@ -39,16 +39,16 @@ Item { | |||
39 | composer.clear(); | 39 | composer.clear(); |
40 | } | 40 | } |
41 | 41 | ||
42 | Mail.Retriever { | 42 | KubeFramework.Retriever { |
43 | id: retriever | 43 | id: retriever |
44 | propertyName: "mimeMessage" | 44 | propertyName: "mimeMessage" |
45 | model: Mail.MailListModel { | 45 | model: KubeFramework.MailListModel { |
46 | id: mailListModel | 46 | id: mailListModel |
47 | mail: root.originalMessage | 47 | mail: root.originalMessage |
48 | } | 48 | } |
49 | } | 49 | } |
50 | 50 | ||
51 | Mail.Composer { | 51 | KubeFramework.Composer { |
52 | id: composer | 52 | id: composer |
53 | originalMessage: retriever.value | 53 | originalMessage: retriever.value |
54 | } | 54 | } |
diff --git a/components/package/contents/ui/FolderListView.qml b/components/package/contents/ui/FolderListView.qml index b63235bb..d78531a2 100644 --- a/components/package/contents/ui/FolderListView.qml +++ b/components/package/contents/ui/FolderListView.qml | |||
@@ -23,7 +23,7 @@ import QtQuick.Layouts 1.1 | |||
23 | import org.kde.plasma.core 2.0 as PlasmaCore | 23 | import org.kde.plasma.core 2.0 as PlasmaCore |
24 | import org.kde.plasma.components 2.0 as PlasmaComponents | 24 | import org.kde.plasma.components 2.0 as PlasmaComponents |
25 | 25 | ||
26 | import org.kube.framework.domain 1.0 as Mail | 26 | import org.kube.framework.domain 1.0 as KubeFramework |
27 | 27 | ||
28 | Item { | 28 | Item { |
29 | id: root | 29 | id: root |
@@ -58,10 +58,10 @@ Item { | |||
58 | role: "name" | 58 | role: "name" |
59 | width: treeView.width - 5 | 59 | width: treeView.width - 5 |
60 | } | 60 | } |
61 | model: Mail.FolderListModel { id: folderListModel } | 61 | model: KubeFramework.FolderListModel { id: folderListModel } |
62 | onCurrentIndexChanged: { | 62 | onCurrentIndexChanged: { |
63 | model.fetchMore(currentIndex) | 63 | model.fetchMore(currentIndex) |
64 | root.currentFolder = model.data(currentIndex, Mail.FolderListModel.DomainObject) | 64 | root.currentFolder = model.data(currentIndex, KubeFramework.FolderListModel.DomainObject) |
65 | } | 65 | } |
66 | backgroundVisible: false | 66 | backgroundVisible: false |
67 | headerVisible: false | 67 | headerVisible: false |
diff --git a/components/package/contents/ui/MailListView.qml b/components/package/contents/ui/MailListView.qml index 22f5eb81..8b612c52 100644 --- a/components/package/contents/ui/MailListView.qml +++ b/components/package/contents/ui/MailListView.qml | |||
@@ -23,7 +23,7 @@ import QtQml 2.2 | |||
23 | 23 | ||
24 | import org.kde.plasma.components 2.0 as PlasmaComponents | 24 | import org.kde.plasma.components 2.0 as PlasmaComponents |
25 | 25 | ||
26 | import org.kube.framework.domain 1.0 as Mail | 26 | import org.kube.framework.domain 1.0 as KubeFramework |
27 | 27 | ||
28 | ScrollView { | 28 | ScrollView { |
29 | id: root | 29 | id: root |
@@ -33,7 +33,7 @@ ScrollView { | |||
33 | ListView { | 33 | ListView { |
34 | id: listView | 34 | id: listView |
35 | 35 | ||
36 | model: Mail.MailListModel { | 36 | model: KubeFramework.MailListModel { |
37 | parentFolder: root.parentFolder | 37 | parentFolder: root.parentFolder |
38 | } | 38 | } |
39 | 39 | ||
diff --git a/components/package/contents/ui/MailViewer.qml b/components/package/contents/ui/MailViewer.qml index f42ec8de..771c6fa0 100644 --- a/components/package/contents/ui/MailViewer.qml +++ b/components/package/contents/ui/MailViewer.qml | |||
@@ -3,7 +3,7 @@ import QtQuick.Controls 1.3 | |||
3 | import QtQuick.Layouts 1.1 | 3 | import QtQuick.Layouts 1.1 |
4 | import QtWebKit 3.0 | 4 | import QtWebKit 3.0 |
5 | 5 | ||
6 | import org.kube.framework.domain 1.0 as Mail | 6 | import org.kube.framework.domain 1.0 as KubeFramework |
7 | 7 | ||
8 | Item { | 8 | Item { |
9 | id: root | 9 | id: root |
@@ -35,7 +35,7 @@ Item { | |||
35 | webview.loadHtml(html, "file:///"); | 35 | webview.loadHtml(html, "file:///"); |
36 | } | 36 | } |
37 | 37 | ||
38 | Mail.MessageParser { | 38 | KubeFramework.MessageParser { |
39 | id: messageParser | 39 | id: messageParser |
40 | message: root.message | 40 | message: root.message |
41 | } | 41 | } |
diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml index 7fadc960..ff48a9d3 100644 --- a/components/package/contents/ui/SingleMailView.qml +++ b/components/package/contents/ui/SingleMailView.qml | |||
@@ -19,7 +19,7 @@ import QtQuick 2.4 | |||
19 | import QtQuick.Controls 1.3 | 19 | import QtQuick.Controls 1.3 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | 21 | ||
22 | import org.kube.framework.domain 1.0 as Mail | 22 | import org.kube.framework.domain 1.0 as KubeFramework |
23 | 23 | ||
24 | Item { | 24 | Item { |
25 | id: root | 25 | id: root |
@@ -36,7 +36,7 @@ Item { | |||
36 | Repeater { | 36 | Repeater { |
37 | anchors.fill: parent | 37 | anchors.fill: parent |
38 | 38 | ||
39 | model: Mail.MailListModel { | 39 | model: KubeFramework.MailListModel { |
40 | mail: root.mail | 40 | mail: root.mail |
41 | } | 41 | } |
42 | 42 | ||