diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2015-12-07 20:48:43 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2015-12-07 20:48:43 +0100 |
commit | 7ed0f7b6d60f2a85cb931080b3ae498f5ddabe0a (patch) | |
tree | 9ea3bc6359f12ef79170d19e7742549c44c8d46c /applications/kmail-quick/package/contents/ui | |
parent | 552f6d4c02f0d760368a1f345068b469ee3af36a (diff) | |
download | kube-7ed0f7b6d60f2a85cb931080b3ae498f5ddabe0a.tar.gz kube-7ed0f7b6d60f2a85cb931080b3ae498f5ddabe0a.zip |
actually export folderlistmodel in the folderlist controller and use it in the desktop app
Diffstat (limited to 'applications/kmail-quick/package/contents/ui')
-rw-r--r-- | applications/kmail-quick/package/contents/ui/FolderListView.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/applications/kmail-quick/package/contents/ui/FolderListView.qml b/applications/kmail-quick/package/contents/ui/FolderListView.qml index 807e1568..f5ed7765 100644 --- a/applications/kmail-quick/package/contents/ui/FolderListView.qml +++ b/applications/kmail-quick/package/contents/ui/FolderListView.qml | |||
@@ -21,11 +21,15 @@ import QtQuick.Layouts 1.1 | |||
21 | 21 | ||
22 | import org.kde.plasma.core 2.0 as PlasmaCore | 22 | import org.kde.plasma.core 2.0 as PlasmaCore |
23 | 23 | ||
24 | 24 | import org.kde.akonadi2.mail 1.0 as Mail | |
25 | 25 | ||
26 | Item { | 26 | Item { |
27 | id: root | 27 | id: root |
28 | 28 | ||
29 | Mail.FolderList { | ||
30 | id: folderList | ||
31 | } | ||
32 | |||
29 | Item { | 33 | Item { |
30 | id: searchBox | 34 | id: searchBox |
31 | 35 | ||
@@ -56,7 +60,7 @@ Item { | |||
56 | 60 | ||
57 | clip: true | 61 | clip: true |
58 | 62 | ||
59 | model: FolderModel {} | 63 | model: folderList.model //FolderModel {} |
60 | 64 | ||
61 | delegate: ListItem { | 65 | delegate: ListItem { |
62 | 66 | ||