summaryrefslogtreecommitdiffstats
path: root/applications/examples/SingleMail.qml
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2015-12-06 21:38:12 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2015-12-06 21:38:12 +0100
commitf5b9f73e87d8263428d19b161bdb57b1a5172105 (patch)
treeb9fe7b9c8392a9fd76869d89a59732722120079e /applications/examples/SingleMail.qml
parent5b1025d49af793381ad3ea921e9b03d3326ac979 (diff)
downloadkube-f5b9f73e87d8263428d19b161bdb57b1a5172105.tar.gz
kube-f5b9f73e87d8263428d19b161bdb57b1a5172105.zip
add delete button to example
Diffstat (limited to 'applications/examples/SingleMail.qml')
-rw-r--r--applications/examples/SingleMail.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/examples/SingleMail.qml b/applications/examples/SingleMail.qml
index 6acd00e5..a307de79 100644
--- a/applications/examples/SingleMail.qml
+++ b/applications/examples/SingleMail.qml
@@ -42,6 +42,10 @@ Item {
42 text: singleMail.isImportant ? "important" : "not important" 42 text: singleMail.isImportant ? "important" : "not important"
43 onClicked: singleMail.markMailImportant(!singleMail.isImportant) 43 onClicked: singleMail.markMailImportant(!singleMail.isImportant)
44 } 44 }
45 Button {
46 text: "delete"
47 onClicked: singleMail.deleteMail()
48 }
45 Label { 49 Label {
46 text: singleMail.message 50 text: singleMail.message
47 } 51 }