diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2015-12-06 21:38:12 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2015-12-06 21:38:12 +0100 |
commit | f5b9f73e87d8263428d19b161bdb57b1a5172105 (patch) | |
tree | b9fe7b9c8392a9fd76869d89a59732722120079e | |
parent | 5b1025d49af793381ad3ea921e9b03d3326ac979 (diff) | |
download | kube-f5b9f73e87d8263428d19b161bdb57b1a5172105.tar.gz kube-f5b9f73e87d8263428d19b161bdb57b1a5172105.zip |
add delete button to example
-rw-r--r-- | applications/examples/SingleMail.qml | 4 |
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 | } |