summaryrefslogtreecommitdiffstats
path: root/app/models/CallHistoryModel.qml
blob: a1c00b08677b039c7e91d037588e6633075583a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* 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
import CallType 1.0

ListModel {
    ListElement {
        name: "Droopy"
        number: "8003451234"
        time: "2015-01-05 07:15"
        type: CallType.Missed
    }

    ListElement {
        name: "Doc"
        number: "8003451234"
        time: "2015-01-05 07:15"
        type: CallType.Incoming
    }

    ListElement {
        name: "Grumpy"
        number: "8003451234"
        time: "2015-01-05 07:15"
        type: CallType.Outgoing
    }

    ListElement {
        name: "Bashful"
        number: "8003451234"
        time: "2015-01-05 07:15"
        type: CallType.Incoming
    }
}