Add sample application[phone]
[staging/soundmanager.git] / sample / phone / app / models / CallHistoryModel.qml
diff --git a/sample/phone/app/models/CallHistoryModel.qml b/sample/phone/app/models/CallHistoryModel.qml
new file mode 100644 (file)
index 0000000..ee11799
--- /dev/null
@@ -0,0 +1,34 @@
+/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved.
+ * Copyright (C) 2016, The Qt Company. All Rights Reserved.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+import QtQml.Models 2.2
+
+ListModel {
+    ListElement {
+        name: "Droopy"
+        number: "8003451234"
+        time: "2015-01-05 07:15"
+    }
+
+    ListElement {
+        name: "Doc"
+        number: "8003451234"
+        time: "2015-01-05 07:15"
+    }
+
+    ListElement {
+        name: "Grumpy"
+        number: "8003451234"
+        time: "2015-01-05 07:15"
+    }
+
+    ListElement {
+        name: "Bashful"
+        number: "8003451234"
+        time: "2015-01-05 07:15"
+    }
+}