From 8af1436e92c1a853b74bacc9ac0adf012fdbc4ca Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 4 May 2013 01:24:41 +0200 Subject: new calendar watchlet --- qmsgwatchlet/metawatch-digital.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'qmsgwatchlet/metawatch-digital.qml') diff --git a/qmsgwatchlet/metawatch-digital.qml b/qmsgwatchlet/metawatch-digital.qml index e5e999f..89a5f00 100644 --- a/qmsgwatchlet/metawatch-digital.qml +++ b/qmsgwatchlet/metawatch-digital.qml @@ -20,6 +20,7 @@ MWPage { anchors.bottom: parent.bottom clip: true model: MessageModel { + id: model sortBy: MessageModel.Timestamp sortOrder: MessageModel.DescendingOrder filter: MessageIntersectionFilter { @@ -33,6 +34,16 @@ MWPage { comparator: MessageFilter.Equal value: MessageFilter.InboxFolder } + MessageFilter { + type: MessageFilter.Status + comparator: MessageFilter.Includes + value: MessageFilter.Incoming + } + MessageFilter { + type: MessageFilter.Status + comparator: MessageFilter.Excludes + value: MessageFilter.Removed + } } limit: 20 } -- cgit v1.2.3