From f5b9f73e87d8263428d19b161bdb57b1a5172105 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Sun, 6 Dec 2015 21:38:12 +0100 Subject: add delete button to example --- applications/examples/SingleMail.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'applications/examples') 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 { text: singleMail.isImportant ? "important" : "not important" onClicked: singleMail.markMailImportant(!singleMail.isImportant) } + Button { + text: "delete" + onClicked: singleMail.deleteMail() + } Label { text: singleMail.message } -- cgit v1.2.3