diff options
Diffstat (limited to 'examples/quickcontrols/wearable/qml/Notifications/notifications.js')
-rw-r--r-- | examples/quickcontrols/wearable/qml/Notifications/notifications.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/quickcontrols/wearable/qml/Notifications/notifications.js b/examples/quickcontrols/wearable/qml/Notifications/notifications.js new file mode 100644 index 0000000000..62f46e0a0b --- /dev/null +++ b/examples/quickcontrols/wearable/qml/Notifications/notifications.js @@ -0,0 +1,25 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +function populateData(listData) { + listData.append({ + name: "John Doe", + gender: "m", + date: "02/15/2017", + time: "09:20 am" + }); + + listData.append({ + name: "Jane Worldege", + gender: "f", + date: "02/06/2017", + time: "10:15 am" + }); + + listData.append({ + name: "Jennifer Wang", + gender: "f", + date: "02/03/2017", + time: "05:16 pm" + }); +} |