diff options
Diffstat (limited to 'applications/examples/SingleMail.qml')
-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 | } |